[llvm-commits] [PATCH] Replace use of sscanf with string object operations

Martinez, Javier E javier.e.martinez at intel.com
Wed Oct 3 21:48:21 PDT 2012


Hello,

Attached is a patch to remove the use of sscanf. The misuse of some C string functions such as sscanf can cause as security vulnerability. As discussed in the development mailing list the preference is to use string objects to manipulate strings instead of the C functions.

Please review the patch and commit if the changes are ok.

Thanks,
Javier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121004/d9f3d6f9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sscanf.patch
Type: application/octet-stream
Size: 1848 bytes
Desc: sscanf.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121004/d9f3d6f9/attachment.obj>


More information about the llvm-commits mailing list