--- jailkit-2.17_changed/src/passwdparser.c 2015-10-28 12:16:56.000000000 +0100 +++ jailkit-2.17/src/passwdparser.c 2009-03-17 21:11:22.000000000 +0100 @@ -152,10 +152,9 @@ struct passwd *internal_getpwuid(const char *filename, uid_t uid) { static struct passwd retpw; - char find[11], *line; // 28.11.2015/ml 10 bytes fuer den numerischen wert plus 1 byte fuer \0 ! - memset(find,0,11); // und auch schoen mit null bytes fuellen - - snprintf(find,11,"%d",(int)uid); // 28.11.2015/ml 10 bytes fuer den numerischen wert plus 1 byte fuer \0 ! + char find[10], *line; + + snprintf(find,10,"%d",(int)uid); line = find_line(filename, find, 2); if (line) { retpw.pw_name = field_from_line(line, 0);