Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at flood.c:346

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 666.666
Procedure: irc_flood_deinit
Trace: View
Modified: Wed Sep 2 11:35:59 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/flood/flood.c
   Enter irc_flood_deinit
 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: 664.664) */
 341                 signal_remove("event notice", (SIGNAL_FUNC) flood_notice);   /* Dangerous Function Cast (ID: 663.663) */
 342                 signal_remove("ctcp msg", (SIGNAL_FUNC) flood_ctcp);   /* Dangerous Function Cast (ID: 662.662) */
 343         }
 344  
 345         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 667.667) */
Wrong Number of Parameters346         signal_remove("server connected", (SIGNAL_FUNC) flood_init_server);     /* Dangerous Function Cast */
 347         signal_remove("server disconnected", (SIGNAL_FUNC) flood_deinit_server);   /* Dangerous Function Cast (ID: 665.665) */
 348 




Change Warning 666.666 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: