[Bug libc/364] New: strerror_r does not copy error string to user supplied buffer

dancasimiro at alum dot rpi dot edu sourceware-bugzilla@sources.redhat.com
Thu Sep 2 19:05:00 GMT 2004


According to the specification, strerror_r should copy the error string to the
user supplied buffer. 
(http://www.opengroup.org/onlinepubs/009695399/functions/strerror.html)

The current version of strerror_r does not copy *anything* unless there is a
problem.

-- 
           Summary: strerror_r does not copy error string to user supplied
                    buffer
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: minor
          Priority: P3
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: dancasimiro at alum dot rpi dot edu
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=364

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list