[ros-bugs] [Bug 2347] New: realloc does not free when size = 0

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Thu Jun 28 06:50:26 CEST 2007


http://www.reactos.org/bugzilla/show_bug.cgi?id=2347

           Summary: realloc does not free when size = 0
           Product: ReactOS
           Version: TRUNK
          Platform: x86 Hardware
        OS/Version: ReactOS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Patches
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: i_am_drv at yahoo.com
         QAContact: ros-bugs at reactos.org


The current implementation of CRT realloc just returns NULL when size = 0 and
ptr != NULL.  The attached patch fixes this behavior.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.


More information about the Ros-bugs mailing list