-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
dcerpc: prevent integer underflow #12532
base: master
Are you sure you want to change the base?
Conversation
in case a fragment has a length lesser than DCERPC_HDR_LEN Fixes: 9daf852 ("dcerpc: tidy up code") Ticket: 7548
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #12532 +/- ##
=======================================
Coverage 80.68% 80.69%
=======================================
Files 925 925
Lines 258914 258914
=======================================
+ Hits 208914 208920 +6
+ Misses 50000 49994 -6
Flags with carried forward coverage won't be shown. Click here to find out more. |
Information: QA ran without warnings. Pipeline 24627 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
@catenacyber could you please tell what is unclear to you? |
Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/7548
Describe changes:
There may be other things to do, like setting an event, but what remains to do is not clear to me.
What is clear to me is that this small change is an improvement.
First commit of #12528 with ticket