Project

General

Profile

Actions

Bug #3815

closed

Coverity scan issue -- control flow issue ftp logger

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

** CID 1465224:  Control flow issues  (DEADCODE)
/src/output-json-ftp.c: 151 in EveFTPLogCommand()

________________________________________________________________________________________________________
*** CID 1465224:  Control flow issues  (DEADCODE)
/src/output-json-ftp.c: 151 in EveFTPLogCommand()
145         }
146     147         return;
148     149     fail:
150         if (js_resplist) {
>>>     CID 1465224:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "jb_free(js_resplist);".
151             jb_free(js_resplist);
152         }
153     }
154     155     156     static int JsonFTPLogger(ThreadVars *tv, void
*thread_data,

Actions

Also available in: Atom PDF