← Commit list

d71e45856

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2007-06-11
FAILED Duration: 16s

Subject

- use bb_msg_full_version instead of a separate string. Saves a minor 3 bytes.

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/correct_password.c+2 -2
@@ -47,9 +47,9 @@ int correct_password(const struct passwd *pw)
char buffer[256];
#endif
- correct = "aa"; /* fake salt. crypt() can choke otherwise */
+ correct = bb_msg_full_version; /* fake salt. crypt() can choke otherwise */
if (!pw)
- goto fake_it; /* "aa" will never match */
+ goto fake_it; /* The content of 'correct' will never match */
correct = pw->pw_passwd;
#if ENABLE_FEATURE_SHADOWPASSWDS
if (LONE_CHAR(pw->pw_passwd, 'x') || LONE_CHAR(pw->pw_passwd, '*')) {