catdoc: denial of service
Posted Nov 18, 2012 16:41 UTC (Sun) by
dark (subscriber, #8483)
In reply to:
catdoc: denial of service by apoelstra
Parent article:
catdoc: denial of service
Ah ok, thanks. I did some digging and it seems I had this the wrong way around: an integer zero does not have to be all bits zero (because the standard permits padding bits), but C99 explicitly guarantees that all bits zero is interpreted as integer zero. (6.2.6.2/5)
The discussion about this that I remembered was about the language in C89 so I feel old now :) C89 has much less to say about padding bits but doesn't rule them out.
(
Log in to post comments)