Skip to content

Commit

Permalink
Fix ne fuzz tests (#4501)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy committed May 18, 2024
1 parent c082ae8 commit d9a10a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/bin/format/ne/ne.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ RzPVector /*<RzBinReloc *>*/ *rz_bin_ne_get_relocs(rz_bin_ne_obj_t *bin) {
}
rz_buf_read_at(bin->buf, (ut64)bin->ne_header->ModRefTable + bin->header_offset, (ut8 *)modref, bin->ne_header->ModRefs * sizeof(ut16));

RzPVector *relocs = rz_pvector_new((RzPVectorFree)rz_bin_reloc_free);
RzPVector *relocs = rz_pvector_new(free);
if (!relocs) {
free(modref);
return NULL;
Expand Down

0 comments on commit d9a10a9

Please sign in to comment.