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 dynamic-link/14055] New: _dl_show_auxv may cause out-of-bounds access and crash


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

             Bug #: 14055
           Summary: _dl_show_auxv may cause out-of-bounds access and crash
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
        AssignedTo: unassigned@sourceware.org
        ReportedBy: ppluzhnikov@google.com
    Classification: Unclassified


Created attachment 6387
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6387
proposed patch

Original report:
http://sourceware.org/ml/libc-alpha/2012-04/msg01201.html

In _dl_show_auxv(), when handling unknown a_type values, auxvars[] could
be accessed out of bounds and cause a crash.

Attached patch fixes that.

Tested on Linux/x86_64, no regressions.

Google ref: b/6412609

Patch has been approved:
http://sourceware.org/ml/libc-alpha/2012-05/msg00055.html
and will be committed shortly.

-- 
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]