VirusTotal / yara

The pattern matching swiss knife
https://virustotal.github.io/yara/
BSD 3-Clause "New" or "Revised" License
8.26k stars 1.44k forks source link

Fixed dotnet module failure on Windows #1902

Closed metthal closed 1 year ago

metthal commented 1 year ago

create_full_name() used strdup() even on Windows where all str functions are masked behind yr_str() functions which internally used HeapAlloc()/HeapFree() which does not cooperate well with malloc()/free().

Thanks to @wxsBSD & @tlansec for finding the bug.

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.