Describe the bug
The moment I'm multithreading my application written in C#, every now and then I get an System.AccessViolationException: 'Attempted to read or write protected memory. Exception
To Reproduce
use multithreading
Expected behavior
get the results instead
Screenshots
Please complete the following information:
OS: [e.g. iOS] Windows
YARA version: [e.g. 4.3.0] from 4.0 to the current version on this date in the branch 17/02/2023 which is 4.3?
Additional context
every file, stream, yararule etc.etc. is validated untill the point of calling yr_rules_scan_mem to make sure that hopefully I didn't mess up somewhere..
Describe the bug The moment I'm multithreading my application written in C#, every now and then I get an System.AccessViolationException: 'Attempted to read or write protected memory. Exception
To Reproduce use multithreading
Expected behavior get the results instead
Screenshots
Please complete the following information:
Additional context every file, stream, yararule etc.etc. is validated untill the point of calling yr_rules_scan_mem to make sure that hopefully I didn't mess up somewhere..