[Bug nis/20978] strlen on null pointer in nss_nisplus

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Fri Dec 16 16:46:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=20978

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
The original code

  if (name == NULL || strlen(name) > 8)
    return NSS_STATUS_NOTFOUND;
  else

was changed into

  if (name != NULL || strlen(name) <= 8)

and things went downhill.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list