Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at channel-rejoin.c:285

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 248.248
Procedure: channel_rejoin_deinit
Trace: View
Modified: Wed Sep 2 11:33:01 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/channel-rejoin.c
   Enter channel_rejoin_deinit
 275  
 276 void channel_rejoin_deinit(void) 
 277 {
 278         g_source_remove(rejoin_tag);
 279  
 280         command_unbind("rmrejoins", (SIGNAL_FUNC) cmd_rmrejoins);   /* Dangerous Function Cast (ID: 247.247) */
 281         signal_remove("event 407", (SIGNAL_FUNC) event_duplicate_channel);   /* Dangerous Function Cast (ID: 246.246) */
 282         signal_remove("event 437", (SIGNAL_FUNC) event_target_unavailable);   /* Dangerous Function Cast (ID: 245.245) */
 283         signal_remove("channel joined", (SIGNAL_FUNC) sig_remove_rejoin);   /* Dangerous Function Cast (ID: 244.244) */
 284         signal_remove("channel destroyed", (SIGNAL_FUNC) sig_remove_rejoin);   /* Dangerous Function Cast (ID: 249.249) */
Wrong Number of Parameters285         signal_remove("server disconnected", (SIGNAL_FUNC) sig_disconnected);     /* Dangerous Function Cast */
 286 




Change Warning 248.248 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: