fix segfault when using the maxlen argument (#4359)
SVN-Revision: 16641
This commit is contained in:
parent
8a8943671a
commit
9e94806990
@ -172,6 +172,7 @@ int main(int argc, char **argv)
|
|||||||
fprintf(stderr, "realloc failed");
|
fprintf(stderr, "realloc failed");
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
p = (struct trx_header *) buf;
|
||||||
break;
|
break;
|
||||||
case 'a':
|
case 'a':
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user