mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
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");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
p = (struct trx_header *) buf;
|
||||
break;
|
||||
case 'a':
|
||||
errno = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user