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

Handle bad chars in YARA matched data #1868

Merged
merged 2 commits into from
Oct 18, 2024
Merged

Handle bad chars in YARA matched data #1868

merged 2 commits into from
Oct 18, 2024

Conversation

liquidsec
Copy link
Collaborator

In very rare cases, UnicodeDecodeError's were happening here due to bad characters, which stopped their processing. This will simply remove any problem characters encountered.

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93%. Comparing base (0a20c13) to head (7595ff7).
Report is 3 commits behind head on dev.

Additional details and impacted files
@@          Coverage Diff          @@
##             dev   #1868   +/-   ##
=====================================
+ Coverage     93%     93%   +1%     
=====================================
  Files        354     354           
  Lines      27399   27399           
=====================================
+ Hits       25263   25278   +15     
+ Misses      2136    2121   -15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TheTechromancer TheTechromancer mentioned this pull request Oct 18, 2024
1 task
@liquidsec liquidsec merged commit e7e5c6a into dev Oct 18, 2024
8 checks passed
@liquidsec liquidsec deleted the yara-handle-bad-chars branch October 18, 2024 15:31
@liquidsec liquidsec changed the title handle bad chars in matched data Handle bad chars in YARA matched data Oct 18, 2024
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.

2 participants