Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at gui-readline.c:124

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7429.28531
Procedure: get_scroll_count
Trace: view
Modified: Thu Nov 26 11:20:42 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/fe-text/gui-readline.c
   Enter get_scroll_count
 118 static int get_scroll_count(void) 
 119 {
 120         const char *str;
 121         double count;
 122  
true123         str = settings_get_str("scroll_page_count");
str <= 4095124         count = atof(str + (*str == '/'));     /* Null Pointer Dereference */
Postconditions
str' = 0




Change Warning 7429.28531 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: