From 1d8f4b529d2334bcb9a74e24302d87517c7f3c31 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 20 Jun 2020 20:34:25 +0200 Subject: [PATCH] main: fix lookup for overflow uid we were mistakenly using the overflow GID also for UIDs lookups. Not a big issue as they usually have the same value. Signed-off-by: Giuseppe Scrivano --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index ab83af5..d961ef0 100644 --- a/main.c +++ b/main.c @@ -666,7 +666,7 @@ find_mapping (unsigned int id, struct ovl_mapping *mapping, bool direct, bool ui static uid_t get_uid (struct ovl_data *data, uid_t id) { - return find_mapping (id, data->uid_mappings, false, false); + return find_mapping (id, data->uid_mappings, false, true); } static uid_t