Pull request #3169: Reset Normalizer's context when new script starts
Merge in SNORT/snort3 from ~OSHUMEIK/snort3:js_buffers_fix to master
Squashed commit of the following:
commit
bdee3121765f854f41e2a46b9a2a557408314fab
Author: Oleksii Shumeiko <oshumeik@cisco.com>
Date: Tue Nov 16 11:18:33 2021 +0200
utils: reset Normalizer context when new script starts
Since Normalizer context are no longer recreated for each new script started,
a method to reset internal state was added.
If a script continues in the next chunk, then context is not reset,
but is being prepared to process the new chunk as a continuation.