Hi all,
if in qmail-pop3d i declared a variable:

stralloc *arrayname;
int numm = 30;
arrayname = (stralloc *) alloc(numm * sizeof(stralloc))
for (i=0; i<numm; i++)
    stralloc_copys(&arrayname[i], "hello");

This code exit with a "segmentation fault" sometimes immediatly
sometimes when i = 2.
Is it a memory problem??
Thanks for all your suggest

Federico.

Reply via email to