winedump: Check return value of fetch_block (Coverity).
This commit is contained in:
parent
1eb52667ac
commit
8063d6572b
|
@ -425,6 +425,8 @@ void lnk_dump(void)
|
||||||
|
|
||||||
offset = 0;
|
offset = 0;
|
||||||
hdr = fetch_block();
|
hdr = fetch_block();
|
||||||
|
if (!hdr)
|
||||||
|
return;
|
||||||
|
|
||||||
printf("Header\n");
|
printf("Header\n");
|
||||||
printf("------\n\n");
|
printf("------\n\n");
|
||||||
|
|
Loading…
Reference in New Issue