Skip to content
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

Fix issue #1358. #1369

Merged
merged 7 commits into from
Oct 5, 2020
Merged

Fix issue #1358. #1369

merged 7 commits into from
Oct 5, 2020

Conversation

plusvic
Copy link
Member

@plusvic plusvic commented Oct 5, 2020

The root cause of this issue was that the size of YR_AC_MATCH structure was 36 instead of 49 bytes when compiling for 32-bits with Visual Studio. This caused that rules compiled with a 64-bit version of YARA, or even a 32-bit version for Linux, were invalid when loaded with the 32-bits Windows version.

plusvic and others added 7 commits October 5, 2020 13:33
The root cause of this issue was that the size of YR_AC_MATCH structure was 36 instead of 49 bytes when compiling for 32-bits with Visual Studio. This caused that rules compiled with a 64-bit version of YARA, or even a 32-bit version for Linux, were invalid when loaded with the 32-bits Windows version.
@plusvic plusvic merged commit 9fb4b8d into master Oct 5, 2020
@plusvic plusvic deleted the fix_issue_1358 branch November 26, 2020 09:07
tarterp pushed a commit to mandiant/yara that referenced this pull request Mar 31, 2022
The root cause of this issue was that the size of YR_AC_MATCH structure was 36 instead of 49 bytes when compiling for 32-bits with Visual Studio. This caused that rules compiled with a 64-bit version of YARA, or even a 32-bit version for Linux, were invalid when loaded with the 32-bits Windows version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant