[llvm-commits] [PATCH] Replace uses of strcpy and memcpy in llvm-nm.cpp
Martinez, Javier E
javier.e.martinez at intel.com
Wed Oct 3 15:28:02 PDT 2012
Hi Chris,
The motivation is to avoid the risk of using the C string functions incorrectly and posing a security threat. Please look at the attached discussion for the background.
Thanks,
Javier
From: Chris Lattner [mailto:clattner at apple.com]
Sent: Wednesday, October 03, 2012 10:34 AM
To: Martinez, Javier E
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: [llvm-commits] [PATCH] Replace uses of strcpy and memcpy in llvm-nm.cpp
On Oct 2, 2012, at 11:55 PM, "Martinez, Javier E" <javier.e.martinez at intel.com<mailto:javier.e.martinez at intel.com>> wrote:
Hello,
This patch is to remove the use of strcpy in llvm-nm.cpp and replace it with format objects. Please review and commit if it looks good.
Why? What's the motivation for doing this?
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121003/c47d161e/attachment.html>
-------------- next part --------------
An embedded message was scrubbed...
From: "Martinez, Javier E" <javier.e.martinez at intel.com>
Subject: Re: [LLVMdev] Handling of unsafe functions
Date: Thu, 27 Sep 2012 07:40:40 +0000
Size: 11279
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121003/c47d161e/attachment.mht>
More information about the llvm-commits
mailing list