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/14699] New: readdir_r: does not enforce NAME_MAX limit


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

             Bug #: 14699
           Summary: readdir_r: does not enforce NAME_MAX limit
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: fweimer@redhat.com
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


The sysdeps/posix/readdir_r.c implementation of readdir_r does not enforce the
NAME_MAX limit if defined by the platform.  We should add a length check,
similar to those we have for realpath and getwd.

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