Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at ctcp.c:156

Categories: LANG.MEM.NPD CWE:476
Warning ID: 6750.28301
Procedure: ctcp_send_parsed_reply
Trace: view
Modified: Thu Nov 26 11:08:35 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/ctcp.c
   Enter ctcp_userinfo
 191 static void ctcp_userinfo(IRC_SERVER_REC *server, const char *data,
true192                           const char *nick) 
 193 {
settings_get_str$result88 <= 4095194         ctcp_send_parsed_reply(server, nick, "USERINFO",
true195                                settings_get_str("ctcp_userinfo_reply"));
     Enter ctcp_userinfo / ctcp_send_parsed_reply
 148   static void ctcp_send_parsed_reply(IRC_SERVER_REC *server, const char *nick,
 149                                      const char *cmd, const char *args) 
 150   {
 151           char *str, *pstr;
 152    
 153           g_return_if_fail(server != NULL);
 154           g_return_if_fail(nick != NULL);
 155    
args <= 4095156           if (*args == '\0')     /* Null Pointer Dereference */  /* Null Pointer Dereference (ID: 6747.28300) */
     Exit ctcp_userinfo / ctcp_send_parsed_reply
Preconditions
server != 0
cmd != 0
Postconditions
_g_boolean_var_' = 1
_g_boolean_var_' = 1
args' = 0
cmd' = &#string12[0]
nick' = nick
server' = server




Change Warning 6750.28301 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: