catdoc: denial of service
Posted Nov 18, 2012 16:41 UTC (Sun) by dark
In reply to: catdoc: denial of service
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. (18.104.22.168/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.
to post comments)