]> git.ipfire.org Git - thirdparty/suricata.git/commit
engine/analyzer: check if file pointer exists before writing
authorShivani Bhardwaj <shivani@oisf.net>
Thu, 17 Jul 2025 06:31:07 +0000 (12:01 +0530)
committerShivani Bhardwaj <shivani@oisf.net>
Thu, 7 Aug 2025 11:30:45 +0000 (17:00 +0530)
commiteb39dba5ddb9f8c9163f774df0643275f994e6c3
tree685d5b67920d538c275c23d6f93e829d21b55bb9
parent03bc95c108f564b9aaa6b4fb93a8a89860d1efd9
engine/analyzer: check if file pointer exists before writing

de_ctx->ea->fp_engine_analysis_fp is only initialized if
engine-analysis.rules-fast-pattern is enabled in the configuration. If
this config param is missing, this leads to segfault.

Bug 7822
src/detect-engine-analyzer.c