mirror of https://github.com/jibsen/tinf
parent
689eb2f1ab
commit
ef52ad2d06
|
@ -77,6 +77,10 @@ int main(int argc, char *argv[])
|
|||
|
||||
fseek(fin, 0, SEEK_SET);
|
||||
|
||||
if (len < 18) {
|
||||
exit_error("input too small");
|
||||
}
|
||||
|
||||
source = (unsigned char *) malloc(len);
|
||||
|
||||
if (source == NULL) {
|
||||
|
|
Loading…
Reference in New Issue