← Commit list

aa0a12d54

Denys Vlasenko
Denys Vlasenko
2009-05-02
FAILED Duration: 30s

Subject

mdev: do not exit if user:group parse failed. closes bug 309.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/mdev.c+2 -1
@@ -241,7 +241,8 @@ static void make_device(char *path, int delete)
* the rest the line unless keep_matching == 1 */
/* 2nd field: uid:gid - device ownership */
- parse_chown_usergroup_or_die(&ugid, tokens[1]);
+ if (get_uidgid(&ugid, tokens[1], 1) == 0)
+ bb_error_msg("unknown user/group %s", tokens[1]);
/* 3rd field: mode - device permissions */
mode = strtoul(tokens[2], NULL, 8);