Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at notifylist.c:351

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 682.682
Procedure: irc_notifylist_deinit
Trace: View
Modified: Wed Sep 2 11:36:05 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/notifylist/notifylist.c
   Enter irc_notifylist_deinit
 341         settings_check();
 342         module_register("notifylist", "irc");
 343 }
 344  
 345 void irc_notifylist_deinit(void) 
 346 {
 347         notifylist_commands_deinit();
 348         notifylist_ison_deinit();
 349         notifylist_whois_deinit();
 350  
Wrong Number of Parameters351         signal_remove("server connected", (SIGNAL_FUNC) notifylist_init_server);     /* Dangerous Function Cast */
 352         signal_remove("server disconnected", (SIGNAL_FUNC) notifylist_deinit_server);   /* Dangerous Function Cast (ID: 681.681) */
 353         signal_remove("event quit", (SIGNAL_FUNC) event_quit);   /* Dangerous Function Cast (ID: 680.680) */
 354         signal_remove("event privmsg", (SIGNAL_FUNC) event_privmsg);   /* Dangerous Function Cast (ID: 679.679) */
 355         signal_remove("event join", (SIGNAL_FUNC) event_join);   /* Dangerous Function Cast (ID: 678.678) */
 356         signal_remove("channel wholist", (SIGNAL_FUNC) sig_channel_wholist);   /* Dangerous Function Cast (ID: 677.677) */
 357         signal_remove("setup reread", (SIGNAL_FUNC) notifylist_read_config);   /* Dangerous Function Cast (ID: 676.676) */
 358  
 359         notifylist_destroy_all();
 360 




Change Warning 682.682 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: