[LLVMbugs] [Bug 21986] New: Add Clang warning for usage of standard C library functions unsafe for buffer-overflow

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 19 10:11:33 PST 2014


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

            Bug ID: 21986
           Summary: Add Clang warning for usage of standard C library
                    functions unsafe for buffer-overflow
           Product: new-bugs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eugene.zelenko at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Hi!

I think will be good idea to introduce warning about usage of sprintf, strcat,
strcpy, etc and suggest usage of buffer-overflow safe analogs. May be checked
in both compile and link stages. Coverity does such checks.

Eugene.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141219/e89b0bdc/attachment.html>


More information about the llvm-bugs mailing list