-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
7302 init parser after check with stat() #11867
Conversation
5cebe8c
to
508e183
Compare
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.
Hi, thanks for reporting this and sharing a possible patch.
Could you please add a brief explanation in the commit message body about why was it necessary? It help even when reviewing, if the issue isn't immediately apparent to the reviewer :)
We will also need a couple of adjusts to the commit, before patches can be merged:
- adjust the commit message following our guidelines
- adjust the author name to be in human readable format? :P We use the
FirstName LastName
format
NOTE: This PR may contain new authors. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #11867 +/- ##
==========================================
- Coverage 82.56% 77.69% -4.87%
==========================================
Files 912 912
Lines 249354 249329 -25
==========================================
- Hits 205880 193724 -12156
- Misses 43474 55605 +12131
Flags with carried forward coverage won't be shown. Click here to find out more. |
508e183
to
2cca563
Compare
Hi, Juliana
Thanks for notifying me, I updated PRs.
Sincerely Yours,
Zemeteri.
…On Thu, Oct 3, 2024 at 6:54 PM Juliana Fajardini Reichow < ***@***.***> wrote:
***@***.**** requested changes on this pull request.
Hi, thanks for reporting this and sharing a possible patch.
Could you please add a brief explanation in the commit message body about
why was it necessary? It help even when reviewing, if the issue isn't
immediately apparent to the reviewer :)
We will also need a couple of adjusts to the commit, before patches can be
merged:
- adjust the commit message following our guidelines
<https://docs.suricata.io/en/latest/devguide/contributing/code-submission-process.html#commits>
- adjust the author name to be in human readable format? :P We use the FirstName
LastName format
—
Reply to this email directly, view it on GitHub
<#11867 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AS4GLIL2I5YQ5IPOVQ7LL7DZZVSFHAVCNFSM6AAAAABPJNYPHSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNBWGAZDAOBRGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
NOTE: This PR may contain new authors. |
Commit changes are made to avoid possible memory leaks. If the parser is initialized before configuration file checking, there was no deinit call before function return. Do check config file existance and type before YAML parser initialization, so we don't need to deinit parser before exiting the function. Bug: OISF#7302
2cca563
to
381334f
Compare
Please open a new PR when implementing changes. |
Hi Victor,
I closed previous PR and just opened new, rebasing my branch to latest
master. However I see a lot of CI fails. What should I do now?
Sincerely Yours,
Zemeteri.
…On Tue, Oct 8, 2024 at 2:01 PM Victor Julien ***@***.***> wrote:
Please open a new PR when implementing changes.
—
Reply to this email directly, view it on GitHub
<#11867 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AS4GLINS3ZCO3AC65LE3MCTZ2O3RBAVCNFSM6AAAAABPJNYPHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJZGUZTGMBVGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Make sure these boxes are checked accordingly before submitting your Pull Request -- thank you.
Contribution style:
https://docs.suricata.io/en/latest/devguide/contributing/contribution-process.html
Our Contribution agreements:
https://suricata.io/about/contribution-agreement/ (note: this is only required once)
Changes (if applicable):
(including schema descriptions)
https://redmine.openinfosecfoundation.org/projects/suricata/issues
Link to ticket: https://redmine.openinfosecfoundation.org/issues/7302
Describe changes: