Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at term.c:177

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 4589.28189
Procedure: term_common_deinit
Trace: view
Modified: Thu Nov 26 11:06:59 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-text/term.c
   Enter term_common_deinit
 167         act.sa_handler = sig_winch;
 168         sigaction(SIGWINCH, &act, NULL);
 169 #endif 
 170 }
 171  
 172 void term_common_deinit(void) 
 173 {
 174         command_unbind("resize", (SIGNAL_FUNC) cmd_resize);   /* Dangerous Function Cast (ID: 4597.28192) */
 175         command_unbind("redraw", (SIGNAL_FUNC) cmd_redraw);   /* Dangerous Function Cast (ID: 4594.28191) */
 176         signal_remove("beep", (SIGNAL_FUNC) term_beep);   /* Dangerous Function Cast (ID: 4592.28190) */
Wrong Number of Parameters177         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);     /* Dangerous Function Cast */
 178 } 




Change Warning 4589.28189 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: