[Bug 4688] New: free()-ing a stack variable

bugzilla at busybox.net bugzilla at busybox.net
Thu Jan 12 15:38:38 UTC 2012


https://bugs.busybox.net/show_bug.cgi?id=4688

           Summary: free()-ing a stack variable
           Product: uClibc
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at uclibc.org
        ReportedBy: jonh.wendell at gmail.com
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


Created attachment 3962
  --> https://bugs.busybox.net/attachment.cgi?id=3962
sample code that shows the issue

we're supposed to not being able do free() a stack variable, but it seems it's
possible with uclibc.

in the attached file, the program crashes on line 16, when using GLibc. It runs
fine on uclibc.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list