Open GoogleCodeExporter opened 8 years ago
Tested with different syntax:
static char gParseBuffer [MAX_SIZE];
char gParseBuffer [MAX_SIZE];
char g [MAX_SIZE];
char g [1];
All segfault. But this work if circle by a function:
int main() { char g[1]; }
or just
{ char g[1]; }
Declaring a global array out of any block will cause rats to segfault.
Original comment by cafedjia...@gmail.com
on 23 Jan 2014 at 1:50
Original issue reported on code.google.com by
cafedjia...@gmail.com
on 23 Jan 2014 at 1:35Attachments: