The ups and downs of strlcpy()
Posted Jul 20, 2012 12:13 UTC (Fri) by
vonbrand (subscriber, #4458)
In reply to:
The ups and downs of strlcpy() by wahern
Parent article:
The ups and downs of strlcpy()
The problem with your "just keep on trucking with garbage input" is that that case will be as little tested as the error handling code it replaces, and I'm not so sure it will be handled with any real care for wacky data by your average programmer.
(
Log in to post comments)