From a8cf5480268f90da1ef0f0ea13ffbee10a78dd27 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Mon, 1 Jul 2024 18:16:47 +0100 Subject: [PATCH] jail: fix copy & paste error in parseOCIlinux() 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 --- jail/jail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jail/jail.c b/jail/jail.c index 09780ac..a595149 100644 --- 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_GIDMAPPINGS], 0); + res = parseOCIuidgidmappings(tb[OCI_LINUX_UIDMAPPINGS], 0); if (res) return res; } -- 2.30.2