On 3/26/20 7:00 PM, John R. Hogerhuis wrote:



Don't ask, don't tell :-)

sprintf at least is inherently dangerous and should never be used. Should always use snprintf so you're committing to a certain buffer size.

Yep. But then again, almost all of this code was written over 10 year ago. Did they even have snprintf then! ;)

Heck, programmer's have it easy these days ... they get 1's *and* 0's. When I was a kid, we only had 0's!

Ken

Reply via email to