Project

General

Profile

Actions

Bug #1167

closed

flowbits: CID 1197758: Resource leak (RESOURCE_LEAK)

Added by Victor Julien about 10 years ago. Updated almost 8 years ago.

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

Description

*** CID 1197758:  Resource leak  (RESOURCE_LEAK)
/src/detect-flowbits.c: 265 in DetectFlowbitSetup()
259             case DETECT_FLOWBITS_CMD_TOGGLE:
260                 /* modifiers, only run when entire sig has matched */
261                 SigMatchAppendSMToList(s, sm, DETECT_SM_LIST_POSTMATCH);
262                 break;
263         }
264     
>>>     CID 1197758:  Resource leak  (RESOURCE_LEAK)
>>>     Variable "sm" going out of scope leaks the storage it points to.
265         return 0;
266     
267     error:
268         if (cd != NULL)
269             SCFree(cd);
270         if (sm != NULL)
Actions #1

Updated by Victor Julien about 10 years ago

  • Subject changed from flowbits: to flowbits: CID 1197758: Resource leak (RESOURCE_LEAK)
  • Description updated (diff)
  • Status changed from New to Assigned
  • Assignee set to OISF Dev
  • Priority changed from Normal to Low
  • Target version set to 3.0RC2
Actions #2

Updated by Victor Julien almost 9 years ago

  • Target version changed from 3.0RC2 to 70
Actions #3

Updated by Victor Julien almost 8 years ago

  • Status changed from Assigned to Closed
  • Assignee deleted (OISF Dev)
  • Target version deleted (70)

Coverity says this was fixed after it's scan of 2014-10-10 23:43:50

Actions

Also available in: Atom PDF