Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at irc-expandos.c:82

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2171.2175
Procedure: expando_usermode
Trace: View
Modified: Wed Sep 2 11:51:43 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/irc/core/irc-expandos.c
   Enter expando_usermode
 80 static char *expando_usermode(SERVER_REC *server, void *item, int *free_ret) 
 81 {
true82         return IS_IRC_SERVER(server) ? IRC_SERVER(server)->usermode : "";     /* Null Pointer Dereference */
Preconditions
*chat_protocols->data != ((char*)$param_1)[4]
Postconditions
free_ret' = $param_3
item' = $param_2
server' = $param_1




Change Warning 2171.2175 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: