logoalt Hacker News

sgerenseryesterday at 10:50 PM1 replyview on HN

Hey, in 2026 strcpy is still part of the C standard library (much to the chagrin of anyone security conscious).


Replies

userbinatoryesterday at 11:45 PM

The key point (which I believe static analysers these days can easily check for) is to check the sizes of the source and destination.