Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at misc.c:433

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7262.28346
Procedure: convert_home
Trace: view
Modified: Thu Nov 26 11:08:58 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/irc/dcc/dcc-get.c
   Enter dcc_get_download_path
 55 char *dcc_get_download_path(const char *fname) 
 56 {
 57         char *str, *downpath;
 58  
true59         downpath = convert_home(settings_get_str("dcc_download_path"));
     /kat0/fletcher/SATE/2010/irssi-0.8.14/src/core/misc.c
     Enter dcc_get_download_path / convert_home
 429   char *convert_home(const char *path) 
 430   {
 431           const char *home;
 432    
path <= 4095433           if (*path == '~' && (*(path+1) == '/' || *(path+1) == '\0')) {     /* Null Pointer Dereference */  /* 2 more... */
     Exit dcc_get_download_path / convert_home
Postconditions
path' = 0




Change Warning 7262.28346 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: