diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/obscure.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/obscure.c b/libbb/obscure.c index 1112e11cb..3353df949 100644 --- a/libbb/obscure.c +++ b/libbb/obscure.c | |||
@@ -109,7 +109,7 @@ static const char *obscure_msg(const char *old_p, const char *new_p, const struc | |||
109 | return "similar to username"; | 109 | return "similar to username"; |
110 | } | 110 | } |
111 | /* no gecos as-is, as sub-string, reversed, capitalized, doubled */ | 111 | /* no gecos as-is, as sub-string, reversed, capitalized, doubled */ |
112 | if (string_checker(new_p, pw->pw_gecos)) { | 112 | if (*pw->pw_gecos && string_checker(new_p, pw->pw_gecos)) { |
113 | return "similar to gecos"; | 113 | return "similar to gecos"; |
114 | } | 114 | } |
115 | /* hostname as-is, as sub-string, reversed, capitalized, doubled */ | 115 | /* hostname as-is, as sub-string, reversed, capitalized, doubled */ |