Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at notifylist.c:354

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1385.26831
Procedure: irc_notifylist_deinit
Trace: view
Modified: Thu Nov 26 11:00:11 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/notifylist/notifylist.c
   Enter irc_notifylist_deinit
 344  
 345 void irc_notifylist_deinit(void) 
 346 {
 347         notifylist_commands_deinit();
 348         notifylist_ison_deinit();
 349         notifylist_whois_deinit();
 350  
 351         signal_remove("server connected", (SIGNAL_FUNC) notifylist_init_server);   /* Dangerous Function Cast (ID: 1388.26834) */
 352         signal_remove("server disconnected", (SIGNAL_FUNC) notifylist_deinit_server);   /* Dangerous Function Cast (ID: 1387.26833) */
 353         signal_remove("event quit", (SIGNAL_FUNC) event_quit);   /* Dangerous Function Cast (ID: 1386.26832) */
Wrong Number of Parameters354         signal_remove("event privmsg", (SIGNAL_FUNC) event_privmsg);     /* Dangerous Function Cast */
 355         signal_remove("event join", (SIGNAL_FUNC) event_join);   /* Dangerous Function Cast (ID: 1384.26830) */
 356         signal_remove("channel wholist", (SIGNAL_FUNC) sig_channel_wholist);   /* Dangerous Function Cast (ID: 1383.26829) */
 357         signal_remove("setup reread", (SIGNAL_FUNC) notifylist_read_config);   /* Dangerous Function Cast (ID: 1382.26828) */
 358  
 359         notifylist_destroy_all();
 360 } 




Change Warning 1385.26831 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: