[LLVMbugs] [Bug 9251] New: Support -fno-delete-null-pointer-checks

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 19 01:50:16 PST 2011


           Summary: Support -fno-delete-null-pointer-checks
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Linux kernel uses it, because it want gcc to play smart and delete NULL pointer
checks and introduce security bugs that way (NULL pointer deref doesn't always
crash kernel, especially if someone managed to map page 0).

clang should probably support it too.

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