Actions
Bug #5065
closedframes: coverity warning
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)
Updated by Victor Julien over 2 years ago
- Status changed from In Progress to Closed
https://github.com/OISF/suricata/pull/6962/commits/27cd54dc0d04bdbe5a4c626f4b977011bee9ce01
Confirmed fix coverity.
Actions