Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at irc-expandos.c:89

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7238.28320
Similar Warnings: 7238.28319
Procedure: expando_cumode
Trace: view
Modified: Thu Nov 26 11:08:42 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/irc/core/irc-expandos.c
   Enter expando_cumode
 86 static char *expando_cumode(SERVER_REC *server, void *item, int *free_ret) 
 87 {
 88         if (IS_IRC_CHANNEL(item) && CHANNEL(item)->ownnick) {   /* Null Pointer Dereference (ID: 7239.28321) */
true89                 char prefix = NICK(CHANNEL(item)->ownnick)->prefixes[0];     /* Null Pointer Dereference */
Preconditions
((char*)item)[64] != 0




Change Warning 7238.28320 : Null Pointer Dereference

Because they are very similar, this warning shares annotations with warning 7238.28319.
CodeSonar has selected warning 7238.28319 to represent this group of similar warnings. In order to edit this group, you must edit warning 7238.28319.