FW: [windev] Did you know?? BSOD - Blue Screen of Death - very si- mple

FYI.

You guys said a usermode app should not crash the system. But why the
following code does?
Note: Don’t run it from ‘DOS’.

-----Original Message-----
From: VEENUS A V [mailto:xxxxx@nestec.net]
Sent: Monday, October 29, 2001 11:58 PM
To: xxxxx@rinolam.com.hk
Subject: [windev] Did you know?? BSOD - Blue Screen of Death - very simple

Windows NT
VC:6.0

hi,

see the following code.
how its possible?

regards
veenus

/*

Create a win32 console app in VC, copy paste the following code, it crashes
Win2K or NT server or NT WS,

NOT joking; just tested it, run it from explorer - courtesy ntdev

*/

#include <stdio.h>

int main(void)
{
printf(“CrashMe\t\t\b\b\b\b\b\b”);
printf(“CrashMe\t\t\b\b\b\b\b\b”);
return 0;
}


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</stdio.h>