[Lldb-commits] [lldb] r320242 - Change uses of strncpy in debugserver to strlcpy

Joerg Sonnenberger via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 11 10:56:46 PST 2017


On Sat, Dec 09, 2017 at 03:37:09AM -0000, Jason Molenda via lldb-commits wrote:
> Log:
> Change uses of strncpy in debugserver to strlcpy
> for better safety.

I don't think this is an improvement really. Many of those should be
plain memcpy or protected against truncation.

Joerg


More information about the lldb-commits mailing list