search for: documentxml

Displaying 1 result from an estimated 1 matches for "documentxml".

2010 Oct 25
1
[LLVMdev] sprintf -> snprintf conversion
...on OpenBSD. This project proactively advocates usage of 'secure' C apis, especially related to memory bounds checking. Thus using functions like sprintf/strcpy/etc usually spits out a linker warning in base toolchain like this one: /home/proger/dev/llvm/Debug+Asserts/lib/libclangFrontend.a(DocumentXML.o) (.text+0xc65): In function `clang::DocumentXML::escapeString(char const*, unsigned long)': /home/proger/dev/llvm/tools/clang/lib/Frontend/DocumentXML.cpp:107: warning: sprintf() is often misused, please use snprintf() I've done some conversions from sprintf to snprintf, please commit th...