← Commit list

c8e18ca12

Denys Vlasenko
Denys Vlasenko
2010-02-01
FAILED Duration: 33s

Subject

remove now-unneeded memset

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 →

libbb/bb_askpass.c+0 -1
@@ -55,7 +55,6 @@ char* FAST_FUNC bb_ask(const int fd, int timeout, const char *prompt)
if (!passwd)
passwd = xmalloc(sizeof_passwd);
- memset(passwd, 0, sizeof_passwd);
ret = passwd;
i = 0;
while (1) {
loginutils/sulogin.c+0 -3
@@ -51,9 +51,6 @@ int sulogin_main(int argc UNUSED_PARAM, char **argv)
/* Clear dangerous stuff, set PATH */
sanitize_env_if_suid();
-// bb_ask() already handles this
-// signal(SIGALRM, catchalarm);
-
pwd = getpwuid(0);
if (!pwd) {
goto auth_error;