Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2511.27473
Procedure: fe_irc_notifylist_deinit
Trace: view
Modified: Thu Nov 26 11:02:56 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/fe-common/irc/notifylist/fe-notifylist.c
   Enter fe_irc_notifylist_deinit
 234         command_set_options("notify", "list");
 235  
 236         settings_check();
 237         module_register("notifylist", "fe-irc");
 238 }
 239  
 240 void fe_irc_notifylist_deinit(void) 
 241 {
 242         theme_unregister();
 243  
Wrong Number of Parameters244         command_unbind("notify", (SIGNAL_FUNC) cmd_notify);     /* Dangerous Function Cast */
 245         signal_remove("notifylist joined", (SIGNAL_FUNC) notifylist_joined);
 246         signal_remove("notifylist left", (SIGNAL_FUNC) notifylist_left);
 247         signal_remove("notifylist away changed", (SIGNAL_FUNC) notifylist_away);
 248 } 




Change Warning 2511.27473 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: