Quantcast
Channel: Coding and Programing » string
Viewing all articles
Browse latest Browse all 10

strncpy insecure

$
0
0

Problem And Question

I am looking to find out why strncpy is considered insecure. Does anybody have any sort of documentation on this or examples of an exploit using it?

Best Solution And Answer

Take a look at this site; it’s a fairly detailed explanation. Basically, strncpy() doesn’t require NUL termination, and is therefore susceptible to a variety of exploits.


Viewing all articles
Browse latest Browse all 10

Trending Articles