Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at channel-rejoin.c:285

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 955.26401
Procedure: channel_rejoin_deinit
Trace: view
Modified: Thu Nov 26 10:58:27 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/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: 954.26400) */
 281         signal_remove("event 407", (SIGNAL_FUNC) event_duplicate_channel);   /* Dangerous Function Cast (ID: 953.26398) */
 282         signal_remove("event 437", (SIGNAL_FUNC) event_target_unavailable);   /* Dangerous Function Cast (ID: 952.26399) */
 283         signal_remove("channel joined", (SIGNAL_FUNC) sig_remove_rejoin);   /* Dangerous Function Cast (ID: 951.26397) */
 284         signal_remove("channel destroyed", (SIGNAL_FUNC) sig_remove_rejoin);   /* Dangerous Function Cast (ID: 956.26402) */
Wrong Number of Parameters285         signal_remove("server disconnected", (SIGNAL_FUNC) sig_disconnected);     /* Dangerous Function Cast */
 286 } 




Change Warning 955.26401 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: