Text  |   XML   |   Visible Warnings:

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

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7431.28534
Procedure: key_send_line
Trace: view
Modified: Thu Nov 26 11:20:45 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 key_send_line
 527 static void key_send_line(void) 
 528 {
 529         HISTORY_REC *history;
 530         char *str;
 531         int add_history;
 532  
true533         str = gui_entry_get_text(active_entry);
 534  
 535         /* we can't use gui_entry_get_text() later, since the entry might 
 536            have been destroyed after we get back */ 
str <= 4095537         add_history = *str != '\0';     /* Null Pointer Dereference */
Preconditions
active_entry = 0
Postconditions
str' = 0




Change Warning 7431.28534 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: