bug report

Andrew Pinski pinskia@physics.uc.edu
Sun Apr 20 19:01:00 GMT 2003


Your code is wrong: a=(char **) calloc(F, sizeof(char));
should be a=(char **) calloc(F, sizeof(char*));

because sizeof(char) < sizeof (char*)
so you are allocating less memory than you need.

Thanks,
Andrew Pinski


On Sunday, Apr 20, 2003, at 14:51 US/Eastern, Manuel Alguacil Payán 
wrote:

> <fine.c>


More information about the Gcc-bugs mailing list