Comment 11 for bug 572246

Revision history for this message
David Erosa (erosa) wrote : Re: Simple scan crashes with "buffer overflow detected"

David, you're right.

I didn't apply the patch as uploaded, I made this change:

- name = malloc(sizeof(char) * size);
+ char *name = malloc(sizeof(char) * size);

Otherwise, it wouldn't compile.