Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at textbuffer-commands.c:386

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2058.2058
Procedure: textbuffer_commands_deinit
Trace: View
Modified: Wed Sep 2 11:48:36 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-text/textbuffer-commands.c
   Enter textbuffer_commands_deinit
 376 void textbuffer_commands_deinit(void) 
 377 {
 378         command_unbind("clear", (SIGNAL_FUNC) cmd_clear);   /* Dangerous Function Cast (ID: 2066.2066) */
 379         command_unbind("window scroll", (SIGNAL_FUNC) cmd_window_scroll);   /* Dangerous Function Cast (ID: 2065.2065) */
 380         command_unbind("scrollback", (SIGNAL_FUNC) cmd_scrollback);   /* Dangerous Function Cast (ID: 2064.2064) */
 381         command_unbind("scrollback clear", (SIGNAL_FUNC) cmd_scrollback_clear);   /* Dangerous Function Cast (ID: 2063.2063) */
 382         command_unbind("scrollback levelclear", (SIGNAL_FUNC) cmd_scrollback_levelclear);   /* Dangerous Function Cast (ID: 2062.2062) */
 383         command_unbind("scrollback goto", (SIGNAL_FUNC) cmd_scrollback_goto);   /* Dangerous Function Cast (ID: 2061.2061) */
 384         command_unbind("scrollback home", (SIGNAL_FUNC) cmd_scrollback_home);   /* Dangerous Function Cast (ID: 2060.2060) */
 385         command_unbind("scrollback end", (SIGNAL_FUNC) cmd_scrollback_end);   /* Dangerous Function Cast (ID: 2059.2059) */
Wrong Number of Parameters386         command_unbind("scrollback status", (SIGNAL_FUNC) cmd_scrollback_status);     /* Dangerous Function Cast */
 387  
 388         signal_remove("away mode changed", (SIGNAL_FUNC) sig_away_changed);   /* Dangerous Function Cast (ID: 2057.2057) */
 389 




Change Warning 2058.2058 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: