projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e411a5
)
jail: fix copy & paste error in parseOCIlinux()
author
Daniel Golle
<daniel@makrotopia.org>
Mon, 1 Jul 2024 17:16:47 +0000
(18:16 +0100)
committer
Daniel Golle
<daniel@makrotopia.org>
Sun, 7 Jul 2024 16:50:15 +0000
(17:50 +0100)
blobmsg entry OCI_LINUX_GIDMAPPINGS is wrongly applied as
uidmappings because of a copy & paste error. Fix that.
Coverity CID
1605920
: Incorrect expression (COPY_PASTE_ERROR)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/jail.c
patch
|
blob
|
history
diff --git
a/jail/jail.c
b/jail/jail.c
index 09780ac7e2b732cd6456c835f93c29816ad3dc89..a5951495786a1f4f17ac4661a130d360430dc778 100644
(file)
--- a/
jail/jail.c
+++ b/
jail/jail.c
@@
-2215,7
+2215,7
@@
static int parseOCIlinux(struct blob_attr *msg)
}
if (tb[OCI_LINUX_UIDMAPPINGS]) {
- res = parseOCIuidgidmappings(tb[OCI_LINUX_
G
IDMAPPINGS], 0);
+ res = parseOCIuidgidmappings(tb[OCI_LINUX_
U
IDMAPPINGS], 0);
if (res)
return res;
}