[LLVMbugs] [Bug 16824] New: wprintf format specifiers should get the same safety checks as printf specifiers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 7 09:33:54 PDT 2013


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

            Bug ID: 16824
           Summary: wprintf format specifiers should get the same safety
                    checks as printf specifiers
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: oohrah at mac.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This code will issue a warning for the printf call but not the wprintf call:


static void test()
{
    printf("%d %d %s\n", 4, 3.5, "ssss");
    wprintf(L"%d %d %s\n", 4, 3.5, "ssss");
}

-- 
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/20130807/f5c2ac6d/attachment.html>


More information about the llvm-bugs mailing list