Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at keyboard.c:613

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2262.2268
Procedure: sig_command
Trace: View
Modified: Wed Sep 2 11:55:12 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-common/core/keyboard.c
   Enter sig_command
 607 static void sig_command(const char *data) 
 608 {
 609         const char *cmdchars;
 610         char *str;
 611  
true612         cmdchars = settings_get_str("cmdchars");
cmdchars <= 4095613         str = strchr(cmdchars, *data) != NULL ? g_strdup(data) :     /* Null Pointer Dereference */
Postconditions
cmdchars' = 0
data' = $param_1




Change Warning 2262.2268 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: