Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at commands.c:922

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2086.2086
Procedure: event_command
Trace: View
Modified: Wed Sep 2 11:51:06 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/core/commands.c
   Enter event_command
 914 static void event_command(const char *line, SERVER_REC *server, void *item) 
 915 {
 916         char *cmdchar;
 917         int expand_aliases = TRUE;
 918  
 919         g_return_if_fail(line != NULL);
 920  
 921         cmdchar = *line == '\0' ? NULL : 
true922                 strchr(settings_get_str("cmdchars"), *line);     /* Null Pointer Dereference */
Preconditions
*$param_1 != 0
strlen($param_1) != 0
Postconditions
_g_boolean_var_' = 1
expand_aliases' = 1
item' = $param_3
line' = $param_1
server' = $param_2




Change Warning 2086.2086 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: