Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at chat-completion.c:854

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7281.28369
Procedure: sig_complete_topic
Trace: view
Modified: Thu Nov 26 11:09:08 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-common/core/chat-completion.c
   Enter sig_complete_topic
 844 static void sig_complete_topic(GList **list, WINDOW_REC *window,
 845                                const char *word, const char *line,
 846                                int *want_space) 
 847 {
 848         const char *topic;
 849  
 850         g_return_if_fail(list != NULL);
 851         g_return_if_fail(word != NULL);
 852  
 853         if (*word == '\0' && IS_CHANNEL(window->active)) {
true854                 topic = CHANNEL(window->active)->topic;     /* Null Pointer Dereference */
Preconditions
list != 0
*word = 0
strlen(word) = 0
Postconditions
_g_boolean_var_' = 1
_g_boolean_var_' = 1




Change Warning 7281.28369 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: