@@ -525,7 +525,7 @@ init_vars(sudo_mode)
char pw_name[MAX_UID_T_LEN + 1];
pw.pw_uid = getuid();
(void) sprintf(pw_name, "%ld", (long) pw.pw_uid);
(void) snprintf(pw_name, sizeof(pw_name), "%ld", (long) pw.pw_uid);
pw.pw_name = pw_name;
sudo_user.pw = &pw;
The note is not visible to the blocked user.