Project

General

Profile

Actions

Bug #4091

closed

byte_math: Offset is a signed value

Added by Jeff Lucovsky over 3 years ago. Updated over 3 years ago.

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

Description

The Snort documentation defines the "offset_value" for byte_math to be a signed value.

Suricata uses an unsigned value:

    uint16_t offset; // struct DetectByteMathData_

    if (ByteExtractStringUint16(&bmd->offset, 10, strlen(tmp_str), (const char *)tmp_str) < 0) {

Actions #1

Updated by Victor Julien over 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Jeff Lucovsky
  • Target version set to 6.0.1
Actions #2

Updated by Jeff Lucovsky over 3 years ago

  • Status changed from Assigned to In Review
Actions #3

Updated by Jeff Lucovsky over 3 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF