[LLVMbugs] [Bug 11119] New: -fstack-protector-all isn't working correctly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 12 06:52:18 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=11119

           Summary: -fstack-protector-all isn't working correctly
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7445)
 --> (http://llvm.org/bugs/attachment.cgi?id=7445)
Test case 

Compile the attached test program for x86-64 with -fstack-protector-all and run
it like "./a.out 10". This is expected to fail due to the buffer overflow, but
it will only start crashing with 14, when compiled with clang. Tested on Linux
and NetBSD.

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



More information about the llvm-bugs mailing list