Project

General

Profile

Actions

Bug #2740

closed

Bug #2714 was closed without the corresponding fix being applied in Suricata 4.1

Added by Bill Meeks over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

Bug #2714 (https://redmine.openinfosecfoundation.org/issues/2714) was fixed and closed against the Suricata 4.0.x branch. The referenced commit was https://github.com/OISF/suricata/commit/bfe3a4180cf77e828c8d700d44bba960e408c741.

However, the same bug exists in the Suricata 4.1.x branch in the same file (detect-engine-mpm.c) at line 1508.

    uint8_t *content = NULL;
    uint8_t content_len = 0;
    PatIntId max_id = 0;
    DetectFPAndItsId *struct_offset = (DetectFPAndItsId *)ahb;
    uint8_t *content_offset = ahb + struct_total_size;

This code should read as follows:

    uint8_t *content = NULL;
    uint16_t content_len = 0;
    PatIntId max_id = 0;
    DetectFPAndItsId *struct_offset = (DetectFPAndItsId *)ahb;
    uint8_t *content_offset = ahb + struct_total_size;
Actions #2

Updated by Victor Julien over 5 years ago

  • Status changed from New to Rejected
  • Priority changed from High to Normal

Since the current master branch will become 4.1.1, I think this ticket is invalid.

Actions

Also available in: Atom PDF