Closed ikrivosheev closed 2 years ago
@Hugal31 can you review this MR? I need it.
I changed the as_yara
function so it is impossible to make the mistake of dropping the wrapper.
I changed the
as_yara
function so it is impossible to make the mistake of dropping the wrapper.
Thank you! Awesome!
@Hugal31 can you make a release with this fix? This blocks me.
Problem was describe here: https://github.com/Hugal31/yara-rust/issues/74. After fix
drop
, I got:Segmentation fault (core dumped)
, becausecontext.matches
wasNULL
and I fix it too.