catdoc: denial of service
Posted Nov 17, 2012 22:16 UTC (Sat) by
dark (subscriber, #8483)
In reply to:
catdoc: denial of service by Ben_P
Parent article:
catdoc: denial of service
I don't know if it's a good reason, but the C standard doesn't guarantee that an integer zero is represented as all-bits-zero. The loop is in that sense more portable than using memset.
(
Log in to post comments)