mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-27 00:05:10 +00:00
Fix null deref in r2 -c 'oc 3' -
##crash
Thanks @enovella for that valuable handfuzzing :D
This commit is contained in:
parent
693fcaaaea
commit
e87d914f24
@ -612,7 +612,7 @@ R_API bool r_core_bin_load(RCore *r, const char *filenameuri, ut64 baddr) {
|
||||
}
|
||||
if (!desc) {
|
||||
// hack for openmany handlers
|
||||
if (*filenameuri == '-') {
|
||||
if (!filenameuri || *filenameuri == '-') {
|
||||
// filenameuri = "malloc://512";
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user