News for hackers. Stuff that matters.
Re:Don't run 'strings' on untrusted files by WalterBright on Sunday October 26, 2014 @05:06AM (#8510589)
> GCC already has a fat-pointer subscript checking option, but nobody uses it

My experience with adding extensions to C++ is that nobody will use them, not even the people who proposed the extension, unless it is adopted by the Standard. The same goes for C.

The feature I proposed for C has been in D since the beginning, and has a very strong track record of success - both in user acceptance and in eliminating bugs. Whether the runtime bounds checking is actually done or not is controlled by a compiler switch - but most users choose to leave it on.

Re:Don't run 'strings' on untrusted files by dbaupp on Sunday October 26, 2014 @06:03AM (#8510682)
There are a lot of GCC extensions that are not in the standard. https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html

Things that are definitely used are __attribute__'s and labels-as-values.