This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/12093] New: Prevent possible NULL pointer access after getifaddrs() usage


http://sourceware.org/bugzilla/show_bug.cgi?id=12093

           Summary: Prevent possible NULL pointer access after
                    getifaddrs() usage
           Product: glibc
           Version: 2.11
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: thomas.jarosch@intra2net.com


Created attachment 5036
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5036
Patch to fix the issue

Hello,

attached patch fixes a possible NULL pointer access after getifaddrs() usage.
I've checked all other getifaddrs() calls, they already check the pointer.

The patch was against 2.11.2 from Fedora 12 and the git
HEAD code doesn't check the pointer for NULL, too.

Best regards,
Thomas Jarosch

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]