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)
Actions