- pr-Prime Numbers » »
- « « “Suckurity matters”
Safer CRT. Or is it?
Sample x.c:
#include <stdlib.h>
#include <stdio.h>
int main (void)
{
char *s = “%s%s%s%s%s%s%s%s%s%s%s%s”;
printf(s, “boo”);
return 0;
}
Compile:
cl /Wall /Wp64 /GS /RTC1 x.c
Run and it will crash. The question here: what was the point then?
Subscribe to RSS feed