suricata icon indicating copy to clipboard operation
suricata copied to clipboard

util-spm-hs: add missing deallocators

Open Rx1513 opened this issue 1 month ago • 0 comments

Contribution style:

  • [x] I have read the contributing guide lines at https://docs.suricata.io/en/latest/devguide/contributing/contribution-process.html

Our Contribution agreements:

  • [x] I have signed the Open Information Security Foundation contribution agreement at https://suricata.io/about/contribution-agreement/ (note: this is only required once)

Changes (if applicable):

  • [ ] I have updated the User Guide (in doc/userguide/) to reflect the changes made
  • [ ] I have updated the JSON schema (in etc/schema.json) to reflect all logging changes (including schema descriptions)
  • [x] I have created a ticket at https://redmine.openinfosecfoundation.org/projects/suricata/issues

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

Describe changes:

  • Move error logging from util-mpm-hs to util-hyperscan to reuse it in util-spm-hs.
  • Move include of hyperscan header file to util-hyperscan.
  • Add missing deallocators.

Provide values to any of the below to override the defaults.

  • To use a Suricata-Verify or Suricata-Update pull request, link to the pull request in the respective _BRANCH variable.
  • Leave unused overrides blank or remove.

SV_REPO= SV_BRANCH= SU_REPO= SU_BRANCH=

Rx1513 avatar Dec 03 '25 06:12 Rx1513