[uClibc-cvs] [uClibc 0000325]: The libc mmap64 routine does not return properly on failure

bugs at busybox.net bugs at busybox.net
Wed Jul 6 15:49:04 UTC 2005


The following issue has been SUBMITTED.
======================================================================
<http://busybox.net/bugs/view.php?id=325> 
======================================================================
Reported By:                barbierp
Assigned To:                uClibc
======================================================================
Project:                    uClibc
Issue ID:                   325
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             07-06-2005 08:49 PDT
Last Modified:              07-06-2005 08:49 PDT
======================================================================
Summary:                    The libc mmap64 routine does not return properly on
failure
Description: 
When the mmap64 assembly language routine detects an error return from the
mmap2 gate, it jumps to __syscall_error. This code never executes a ret
instruction to return the error to the caller of mmap64. Instead execution
continues with whatever was linked after the mmap64 object.

The file in question is:
libc/sysdeps/linux/i386/mmap64.S
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-06-05 08:49 barbierp       New Issue                                    
======================================================================




More information about the uClibc-cvs mailing list