Commit 8dae4f7
committed
BUG/MINOR: stream: Fix crash in stream dump if the current rule has no keyword
The commit 9f1e9ee ("DEBUG: stream: Display the currently running rule in
stream dump") revealed a bug. When a stream is dumped, if it is blocked on a
rule, we must take care the rule has a keyword to display its name.
Indeed, some action parsings are inlined with the rule parser. In that case,
there is no keyword attached to the rule.
Because of this bug, crashes can be experienced when a stream is
dumped. Now, when there is no keyword, "?" is display instead.
This patch must be backported as far as 2.6.1 parent ef2a292 commit 8dae4f7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3841 | 3841 | | |
3842 | 3842 | | |
3843 | 3843 | | |
3844 | | - | |
| 3844 | + | |
3845 | 3845 | | |
3846 | 3846 | | |
3847 | 3847 | | |
| |||
0 commit comments