Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at fe-recode.c:207

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2146.27262
Procedure: fe_recode_deinit
Trace: view
Modified: Thu Nov 26 11:02:01 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/core/fe-recode.c
   Enter fe_recode_deinit
 197         command_bind("recode remove", NULL, (SIGNAL_FUNC) fe_recode_remove_cmd);   /* Dangerous Function Cast (ID: 2134.27256) */
 198         signal_add_first("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 2132.27255) */
 199         read_settings();
 200 }
 201  
 202 void fe_recode_deinit (void) 
 203 {
 204         command_unbind("recode", (SIGNAL_FUNC) fe_recode_cmd);   /* Dangerous Function Cast (ID: 2141.27259) */
 205         command_unbind("recode add", (SIGNAL_FUNC) fe_recode_add_cmd);   /* Dangerous Function Cast (ID: 2144.27260) */
 206         command_unbind("recode remove", (SIGNAL_FUNC) fe_recode_remove_cmd);   /* Dangerous Function Cast (ID: 2149.27261) */
Wrong Number of Parameters207         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);     /* Dangerous Function Cast */
 208 } 




Change Warning 2146.27262 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: