Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at dcc.c:259

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2194.2199
Procedure: dcc_connect_ip
Trace: View
Modified: Wed Sep 2 11:52:02 2009   show details
 
Priority: None
State: None
Finding: None
Owner: None
  edit properties

Legend [ X ]
Warning Location
Contributes
Parse Error
Other Warning
Two or More Loop Iterations
On Execution Path
Comment
Macro
Preprocessor
Include
Keyword
Preprocessed Away

Source  |  Language: C Hide Legend     
ProblemLineSource
   /u1/paul/SATE/2010/c/irssi/irssi-0.8.14/src/irc/dcc/dcc.c
   Enter dcc_connect_ip
 251 GIOChannel *dcc_connect_ip(IPADDR *ip, int port) 
 252 {
 253         IPADDR *own_ip, temp_ip;
 254         const char *own_ip_str;
 255         GIOChannel *handle;
 256  
true257         own_ip_str = settings_get_str("dcc_own_ip");
 258         own_ip = NULL;
own_ip_str <= 4095259         if (*own_ip_str != '\0') {     /* Null Pointer Dereference */
Postconditions
ip' = $param_1
own_ip' = 0
own_ip_str' = 0
port' = $param_2




Change Warning 2194.2199 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: