[Bug 222756] [patch] Fix a seg-fault on crypt(3) failure

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 3 15:39:27 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222756

            Bug ID: 222756
           Summary: [patch] Fix a seg-fault on crypt(3) failure
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: bouceklubos at gmail.com
          Keywords: patch

Created attachment 186881
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186881&action=edit
chpass.c seg-fault patch

Hello,

This patch fixes a possible seg-fault if crypt(3) returns error value (NULL)
which is then used as a strcmp(3) argument.

Regards,

Lubos Boucek

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list