]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
makedevs: Fix matching uid/gid
authorJaeyoon Jung <jaeyoon.jung@lge.com>
Mon, 26 Aug 2024 16:41:34 +0000 (01:41 +0900)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Aug 2024 10:57:20 +0000 (11:57 +0100)
commitca9d193a21e6b8669c4da1a68cd5e0791bb80a4b
treebb2edd1efe9e48ff41e710658a6f17d8f10ef227
parent27ac7879711e7119b4ec8b190b0a9da5b3ede269
makedevs: Fix matching uid/gid

Correct the length to compare in convert2guid() to fix an issue where it
ends up with returning a wrong id that matches partially. Also fix the
length of usr_buf and grp_buf in interpret_table_entry() which are used
as arguments of convert2guid().

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/makedevs/makedevs/makedevs.c