Closed teoring closed 5 years ago
My guess is that YARA is that calls to yr_stream_write
are failing in:
https://github.com/VirusTotal/yara/blob/master/libyara/arena.c#L1094
I should check that the number of returned bytes are the expected ones. Can you make sure that those calls to yr_stream_write
are not returning 0?
Please apply these changes and let me know if the problem persists: https://github.com/VirusTotal/yara/commit/fc2e94e51636814f469420b9a4557adc5493f7d6
Sorry for the late response, I will apply the patch and will provide the result as soon as will find the time.
Issue can be closed. I confirm valgrind do not report any issue with the mentioned patch.
Next snippet of the code cause valgrind to report mentioned below errors:
Are those are expected errors?