Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at fe-netjoin.c:348

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 695.27763
Procedure: msg_join
Trace: view
Modified: Thu Nov 26 11:04:18 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/fe-common/irc/fe-netjoin.c
   Enter msg_join
 337                                 break;
 338                         channels = channels->next;
 339                 }
 340                 /* we still need to create a NETJOIN_REC now as the 
 341                  * NETSPLIT_REC will be destroyed */ 
 342                 if (channels == NULL)
 343                         rejoin = 0;
 344         }
 345  
 346         if (join_tag == -1) {
 347                 join_tag = g_timeout_add(1000, (GSourceFunc) 
Wrong Number of Parameters348                                          sig_check_netjoins, NULL);     /* Dangerous Function Cast */
 349                 signal_add("print starting", (SIGNAL_FUNC) sig_print_starting);   /* Dangerous Function Cast (ID: 694.27762) */
 350         }
 351  
 352         if (netjoin == NULL)
 353                 netjoin = netjoin_add(server, nick, split->channels);
 354  
 355         if (rejoin)
 356         {
 357                 netjoin->now_channels = g_slist_append(netjoin->now_channels,
 358                                                        g_strconcat(" ", channel, NULL));




Change Warning 695.27763 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: