Project

General

Profile

Actions

Bug #5065

closed

frames: coverity warning

Added by Victor Julien 8 months ago. Updated 8 months ago.

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

Description

*** CID 1498000:  Null pointer dereferences  (FORWARD_NULL)
/src/output-json-alert.c: 624 in AlertAddFrame()
618             }
619         }
620     
621         if (frames) {
622             Frame *frame = FrameGetById(frames, frame_id);
623             if (frame != NULL) {
>>>     CID 1498000:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "stream" to "FrameJsonLogOneFrame", which dereferences it.
624                 FrameJsonLogOneFrame(frame, p->flow, stream, p, jb);
625             }
626         }
627     }
628     
629     static int AlertJson(ThreadVars *tv, JsonAlertLogThread *aft, const Packet *p)
Actions #1

Updated by Victor Julien 8 months ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF