[jira] [Updated] (TS-4597) Coverity Null-Check after deref in NetworkUtilisRemote.cc
[ https://issues.apache.org/jira/browse/TS-4597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leif Hedstrom updated TS-4597: -- Component/s: Network > Coverity Null-Check after deref in NetworkUtilisRemote.cc > - > > Key: TS-4597 > URL: https://issues.apache.org/jira/browse/TS-4597 > Project: Traffic Server > Issue Type: Bug > Components: Network >Reporter: Tyler Stroh >Assignee: Tyler Stroh > Fix For: 7.1.0 > > > {code} > ** 1237320 Dereference before null check ** > __ > 660 event_notice = (TSMgmtEvent *)arg; > deref_ptr: Directly dereferencing pointer event_notice. > 661 index= (int)event_notice->id; > 662 LLQ *func_q; // list of callback functions need to call > 663 > 664 func_q = create_queue(); > 665 if (!func_q) { > > CID 1237320 (#1 of 1): Dereference before null check (REVERSE_INULL) > check_after_deref: Null-checking event_notice suggests that it may be null, > but it has already been dereferenced on all paths leading to the check. > 666if (event_notice) > 667 TSEventDestroy(event_notice); > 668return NULL; > 669 } > __ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TS-4597) Coverity Null-Check after deref in NetworkUtilisRemote.cc
[ https://issues.apache.org/jira/browse/TS-4597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leif Hedstrom updated TS-4597: -- Description: {code} ** 1237320 Dereference before null check ** __ 660 event_notice = (TSMgmtEvent *)arg; deref_ptr: Directly dereferencing pointer event_notice. 661 index= (int)event_notice->id; 662 LLQ *func_q; // list of callback functions need to call 663 664 func_q = create_queue(); 665 if (!func_q) { CID 1237320 (#1 of 1): Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking event_notice suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 666if (event_notice) 667 TSEventDestroy(event_notice); 668return NULL; 669 } __ {code} was: ** 1237320 Dereference before null check ** __ 660 event_notice = (TSMgmtEvent *)arg; deref_ptr: Directly dereferencing pointer event_notice. 661 index= (int)event_notice->id; 662 LLQ *func_q; // list of callback functions need to call 663 664 func_q = create_queue(); 665 if (!func_q) { CID 1237320 (#1 of 1): Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking event_notice suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 666if (event_notice) 667 TSEventDestroy(event_notice); 668return NULL; 669 } __ > Coverity Null-Check after deref in NetworkUtilisRemote.cc > - > > Key: TS-4597 > URL: https://issues.apache.org/jira/browse/TS-4597 > Project: Traffic Server > Issue Type: Bug > Components: Network >Reporter: Tyler Stroh >Assignee: Tyler Stroh > Fix For: 7.1.0 > > > {code} > ** 1237320 Dereference before null check ** > __ > 660 event_notice = (TSMgmtEvent *)arg; > deref_ptr: Directly dereferencing pointer event_notice. > 661 index= (int)event_notice->id; > 662 LLQ *func_q; // list of callback functions need to call > 663 > 664 func_q = create_queue(); > 665 if (!func_q) { > > CID 1237320 (#1 of 1): Dereference before null check (REVERSE_INULL) > check_after_deref: Null-checking event_notice suggests that it may be null, > but it has already been dereferenced on all paths leading to the check. > 666if (event_notice) > 667 TSEventDestroy(event_notice); > 668return NULL; > 669 } > __ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TS-4597) Coverity Null-Check after deref in NetworkUtilisRemote.cc
[ https://issues.apache.org/jira/browse/TS-4597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leif Hedstrom updated TS-4597: -- Fix Version/s: 7.1.0 > Coverity Null-Check after deref in NetworkUtilisRemote.cc > - > > Key: TS-4597 > URL: https://issues.apache.org/jira/browse/TS-4597 > Project: Traffic Server > Issue Type: Bug >Reporter: Tyler Stroh > Fix For: 7.1.0 > > > ** 1237320 Dereference before null check ** > __ > 660 event_notice = (TSMgmtEvent *)arg; > deref_ptr: Directly dereferencing pointer event_notice. > 661 index= (int)event_notice->id; > 662 LLQ *func_q; // list of callback functions need to call > 663 > 664 func_q = create_queue(); > 665 if (!func_q) { > > CID 1237320 (#1 of 1): Dereference before null check (REVERSE_INULL) > check_after_deref: Null-checking event_notice suggests that it may be null, > but it has already been dereferenced on all paths leading to the check. > 666if (event_notice) > 667 TSEventDestroy(event_notice); > 668return NULL; > 669 } > __ -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TS-4597) Coverity Null-Check after deref in NetworkUtilisRemote.cc
[ https://issues.apache.org/jira/browse/TS-4597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leif Hedstrom updated TS-4597: -- Assignee: Tyler Stroh > Coverity Null-Check after deref in NetworkUtilisRemote.cc > - > > Key: TS-4597 > URL: https://issues.apache.org/jira/browse/TS-4597 > Project: Traffic Server > Issue Type: Bug >Reporter: Tyler Stroh >Assignee: Tyler Stroh > Fix For: 7.1.0 > > > ** 1237320 Dereference before null check ** > __ > 660 event_notice = (TSMgmtEvent *)arg; > deref_ptr: Directly dereferencing pointer event_notice. > 661 index= (int)event_notice->id; > 662 LLQ *func_q; // list of callback functions need to call > 663 > 664 func_q = create_queue(); > 665 if (!func_q) { > > CID 1237320 (#1 of 1): Dereference before null check (REVERSE_INULL) > check_after_deref: Null-checking event_notice suggests that it may be null, > but it has already been dereferenced on all paths leading to the check. > 666if (event_notice) > 667 TSEventDestroy(event_notice); > 668return NULL; > 669 } > __ -- This message was sent by Atlassian JIRA (v6.3.4#6332)