[Bug 117899] Valgrind crashes on calloc's
Simon Barner
barner at FreeBSD.org
Sat Dec 10 10:32:47 PST 2005
Simon Barner wrote:
> Hi,
>
> I could not reproduce this with the attached example. Could you please
> provide me one, and the exact command line of the valgrind invocation?
Grr, here an inline copy of the file for the list...
int main (void) {
char *a = calloc (sizeof (char), 20);
a [0] = 'a';
free (a);
return 0;
}
--
Best regards / Viele Grüße, barner at FreeBSD.org
Simon Barner barner at gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20051210/5691b86f/attachment.bin
More information about the freebsd-ports
mailing list