Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at servers-setup.c:68

Categories: LANG.MEM.NPD CWE:476
Warning ID: 5188.28246
Procedure: get_source_host_ip
Trace: view
Modified: Thu Nov 26 11:08:17 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
   /kat0/fletcher/SATE/2010/irssi-0.8.14/src/core/servers-setup.c
   Enter get_source_host_ip
 58 static void get_source_host_ip(void) 
 59 {
 60         const char *hostname;
 61         IPADDR ip4, ip6;
 62  
 63         if (source_host_ok)
 64                 return;
 65  
 66         /* FIXME: This will block! */ 
true67         hostname = settings_get_str("hostname");
hostname <= 409568         source_host_ok = *hostname != '\0' &&     /* Null Pointer Dereference */
Preconditions
source_host_ok = 0
Postconditions
hostname' = 0




Change Warning 5188.28246 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: