-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGSEGV: segmentation violation on .ScanMem #155
Comments
@treussart This might have been caused by data structures being freed too early by the GC. I have just tagged v4.3.3. |
Hi, no the tag doesn't fix the issue.
handler
If I move 'yara.NewScanner(rules)' in the handler, then it works. |
@treussart Thank you. Can you provide a self-contained example that produces the segfault? Preferrably without involving http at all. |
|
Hi
I have a service crash due to a memory access problem with cgo :
if yara.Scanner is reused concurrently, a SIGSEGV will occur.
YARA_VERSION = 4.5.1
github.com/hillu/go-yara/v4 v4.3.2
The text was updated successfully, but these errors were encountered: