20 lines of code to crash a linux system
Found this on gentoo forums. Apparently a bug in gcc 3.3 and 3.3.2 causes a sinple 20 line program to completely crash a system running linux 2.4.2x and 2.6.x. Whats worse is that no special permissions are needed for this - any user on your system with execute permissions can bring it down. Even if this really is a gcc bug, the kernel should never allow a thing like this to happen.
I just tried it and it crashed both my laptop and desktop (running linux 2.6.5). While it makes sense to disable logins all critical systems, many unix mail and web servers dont do this. This is really scary with all the 2.4 installations out there!
