Skip to content

Commit

Permalink
Fix bins/*/rep8 - UAF crash in pyc parser ##crash
Browse files Browse the repository at this point in the history
* Reported by Cen Zhang via huntr.dev
  • Loading branch information
trufae committed Feb 7, 2022
1 parent 9650e3c commit 8525ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libr/bin/format/pyc/marshal.c
Expand Up @@ -1098,7 +1098,7 @@ static pyc_object *get_object(RBuffer *buffer) {
break;
case TYPE_UNKNOWN:
eprintf ("Get not implemented for type 0x%x\n", type);
r_list_pop (refs);
// r_list_pop (refs);
free_object (ret);
return NULL;
case 0:
Expand Down

0 comments on commit 8525ad0

Please sign in to comment.