|
|||||||||||
|
Re: user/3104: Propolice katch kauth. (Patches and testcase).
From: mho <mho(at)mho.nu>
Date: Fri Feb 28 2003 - 14:56:15 EST
Let GCC create the array instead of calling malloc(), and it works/breaks as expected. Most values below 256 will trigger some kind of crash. For a propolice hit, try 100.
/* Fixed in NetBSD */
int
int len = atoi(argv[1]);
char foo[len];
char *oldfoo;
oldfoo = initstate(time(NULL), foo, len);
return 0;
} Received on Fri Feb 28 14:54:44 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:51 EDT |
||||||||||
|
|||||||||||