mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-10 15:33:04 +00:00
Fix last clusterfuzz report ##crash
This commit is contained in:
parent
c50357fbe6
commit
e6d97d2b27
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
RBinAddr *r_bflt_get_entry(struct r_bin_bflt_obj *bin) {
|
RBinAddr *r_bflt_get_entry(struct r_bin_bflt_obj *bin) {
|
||||||
RBinAddr *addr = R_NEW0 (RBinAddr);
|
RBinAddr *addr = R_NEW0 (RBinAddr);
|
||||||
if (addr) {
|
if (addr && bin && bin->hdr) {
|
||||||
addr->paddr = bin->hdr->entry;
|
addr->paddr = bin->hdr->entry;
|
||||||
}
|
}
|
||||||
return addr;
|
return addr;
|
||||||
|
Loading…
Reference in New Issue
Block a user