[riot-devel] Another good argument against function macros
oliver.hahm at inria.fr
Wed Apr 15 11:03:39 CEST 2015
I just read about a buffer overflow in X.Org caused by a macro in a header
file . While the bug was fixed in 2013 it still may cause bugs in other
software that uses this macro and has not been recompiled.
If we envision that single libraries may be updated in future IoT scenarios, I
think this incident indicates yet another good argument against (non-trivial)
printk(KERN_ERR "msp3400: chip reset failed, penguin on i2c bus?\n");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the devel