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

iprep: test reputation & category file newline handling #1343

Conversation

coledishington
Copy link
Contributor

The commit 'e7c0f0ad9 src: remove multiple uses of atoi' caused a regression in parsing of ip-rep reputation config files.

Previously, parsing ip-rep values in reputation config files succeeded for CR and CR+LF due to the use of atoi() in parsing ip-rep values, when the line was split by SRepSplitLine the \r at following the reputation score was ignored.

Bug: #6243

Redmine ticket:
https://redmine.openinfosecfoundation.org/issues/6243

The commit
e7c0f0ad9 src: remove multiple uses of atoi
caused a regression in parsing of ip-rep reputation
config files.

Previously, due to the use of atoi() in parsing ip-rep values,
when the line was split by SRepSplitLine the \r at following the
reputation score was ignored.

Bug: #6243
@thomasjwinter
Copy link
Contributor

OISF/suricata#9357

@victorjulien
Copy link
Member

Merged in #1372, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires suricata pr Depends on a PR in Suricata
Development

Successfully merging this pull request may close these issues.

4 participants