Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at fe-notifylist.c:244

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1321.1321
Procedure: fe_irc_notifylist_deinit
Trace: View
Modified: Wed Sep 2 11:40:22 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/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 1321.1321 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: