Wi-Fi software security bug could leave Android, Windows, Linux open to attack (Ars Technica)
Wi-Fi software security bug could leave Android, Windows, Linux open to attack (Ars Technica)
Posted Apr 24, 2015 16:24 UTC (Fri) by Karellen (subscriber, #67644)In reply to: Wi-Fi software security bug could leave Android, Windows, Linux open to attack (Ars Technica) by paulj
Parent article: Wi-Fi software security bug could leave Android, Windows, Linux open to attack (Ars Technica)
It would be entirely possible to create a new C or C++ ABI, to on existing hardware, which used an extended opaque pointer type and did run-time bounds checking on *all* pointer accesses. And which exit()s on any out-of-bounds read/write. Heck, we could even check all pointer arithmetic, asserting if a pointer was even generated which pointed before the start of any array, or after-the-one-after-the-end of any array (and not NULL).
No, it programs compiled for this new ABI wouldn't be as quick as if they were compiled for the "bare metal" ABI, but at least we'd have the choice. We could compile *all* our existing C and C++ code - libraries and applications - either for speed or for safety. We don't need to rewrite everything in a safe language, we could just create a safe implementation of our existing one.
Oh, if only I had six months to a year free to play with the idea myself... :-)
