Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at fe-netjoin.c:294

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1609.1609
Procedure: sig_check_netjoins
Trace: View
Modified: Wed Sep 2 11:43:45 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/irc/fe-netjoin.c
   Enter sig_check_netjoins
 284                 next = tmp->next;
 285                 diff = now-server->last_netjoin;
 286                 if (diff >= NETJOIN_MAX_WAIT) {
 287                         /* waited long enough, forget about the rest */ 
 288                         netjoin_server_remove(server);
 289                 }
 290         }
 291  
 292         if (joinservers == NULL) {
 293                 g_source_remove(join_tag);
Wrong Number of Parameters294                 signal_remove("print starting", (SIGNAL_FUNC) sig_print_starting);     /* Dangerous Function Cast */
 295                 join_tag = -1;
 296         }
 297         return 1;
 298 
 299  
 300 static void msg_quit(IRC_SERVER_REC *server, const char *nick,
 301                      const char *address, const char *reason)
 302 {
 303         if (IS_IRC_SERVER(server) && quitmsg_is_split(reason))
 304                 signal_stop();




Change Warning 1609.1609 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: