Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at gui-readline.c:124

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2368.2379
Procedure: get_scroll_count
Trace: View
Modified: Wed Sep 2 12:22:00 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/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 2368.2379 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: