3 ms·
No, we're not. If you read the linked advisory, you'll see it's only hypothetical. They don't cite a single example in the wild. gcc did something unexpected
by tedunangst 17y ago
No, we're not. If you read the linked advisory, you'll see it's only hypothetical. They don't cite a single example in the wild.
gcc did something unexpected. Film at 11.
- cperciva 17y agoThey don't cite a single example in the wild. I am aware of cases where gcc optimizing out this check resulted in security vulnerabilities. (No, I'm not going to give details. I think these were made public, but I'm not absolutely sure.)
- JoachimSchipper 17y agoI seem to recall seeing that as well, and I certainly don't have access to non-public data, but I can't find an example. Of course, there is http://xorl.wordpress.com/2009/07/17/linux-kernel-devnettun-null-pointer-dereference/ http://xorl.wordpress.com/2009/07/17/linux-kernel-devnettun-... (discussion at http://lwn.net/Articles/341773/ http://lwn.net/Articles/341773/), but while that is also an instance of gcc doing non-obvious but correct things, it's not the same problem.