A small code that can cause the Windows system to crash and restart a small piece of code

xiaoxiao2021-03-05  22

Microsoft has always claimed how stable and reliable, but a few days ago, a named Masaru Tsuchiyama (left under the program, so it should be his nickname) Foreign programming enthusiasts published a small C language code. This 9-line applet If you run under Windows XP / 2000, you can cause the system to crash and restart. But this program does not have any impact on other versions of Windows. This code that produces a small program that genes infinitely loop output is as follows:

#include

Int main (void)

{

For (;;) {

Printf ("Hung Up / T / T / B / B / B / B / B / B / B");

Print ("Hung Up / T / T / B / B / B / B / B / B / B");

}

Return 0;

}

If the print statement is removed, this program will also cause a blue screen error in the NT 4.0 system.

转载请注明原文地址:https://www.9cbs.com/read-32090.html

New Post(0)