Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at flood.c:341

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1369.26815
Procedure: irc_flood_deinit
Trace: view
Modified: Thu Nov 26 11:00:08 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/flood/flood.c
   Enter irc_flood_deinit
 331         module_register("flood", "irc");
 332 }
 333  
 334 void irc_flood_deinit(void) 
 335 {
 336         autoignore_deinit();
 337  
 338         if (flood_tag != -1) {
 339                 g_source_remove(flood_tag);
 340                 signal_remove("event privmsg", (SIGNAL_FUNC) flood_privmsg);   /* Dangerous Function Cast (ID: 1370.26816) */
Wrong Number of Parameters341                 signal_remove("event notice", (SIGNAL_FUNC) flood_notice);     /* Dangerous Function Cast */
 342                 signal_remove("ctcp msg", (SIGNAL_FUNC) flood_ctcp);   /* Dangerous Function Cast (ID: 1368.26814) */
 343         }
 344  
 345         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 1373.26819) */
 346         signal_remove("server connected", (SIGNAL_FUNC) flood_init_server);   /* Dangerous Function Cast (ID: 1372.26818) */
 347         signal_remove("server disconnected", (SIGNAL_FUNC) flood_deinit_server);   /* Dangerous Function Cast (ID: 1371.26817) */
 348 } 




Change Warning 1369.26815 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: