Skip to content

Yaml null 8651 v4 - #15622

Closed
catenacyber wants to merge 2 commits into
OISF:mainfrom
catenacyber:yaml-null-8651-v4
Closed

Yaml null 8651 v4#15622
catenacyber wants to merge 2 commits into
OISF:mainfrom
catenacyber:yaml-null-8651-v4

Conversation

@catenacyber

Copy link
Copy Markdown
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/8651

Describe changes:

  • conf: introduce SCConfGetNonNull to not null deref on yaml null values or such

SV_BRANCH=OISF/suricata-verify#3162

#15620 without red SV for bug-6278

Ticket: 8651

Behaves like SCConfGet but returns 0 on null value
Ticke: 8651

Uses it in place when we dereferenced the value straight away
after checking SCConfGet result but not its value
@catenacyber
catenacyber requested review from a team, jasonish and victorjulien as code owners June 12, 2026 10:48
This was referenced Jun 12, 2026
@catenacyber

Copy link
Copy Markdown
Contributor Author

Replaced by #15626

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant