Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at fe-recode.c:204

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1108.1108
Procedure: fe_recode_deinit
Trace: View
Modified: Wed Sep 2 11:38: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
   /u1/paul/SATE/2010/c/irssi/irssi-0.8.14/src/fe-common/core/fe-recode.c
   Enter fe_recode_deinit
 194 {
 195         command_bind("recode", NULL, (SIGNAL_FUNC) fe_recode_cmd);   /* Dangerous Function Cast (ID: 1103.1103) */
 196         command_bind("recode add", NULL, (SIGNAL_FUNC) fe_recode_add_cmd);   /* Dangerous Function Cast (ID: 1105.1105) */
 197         command_bind("recode remove", NULL, (SIGNAL_FUNC) fe_recode_remove_cmd);   /* Dangerous Function Cast (ID: 1104.1104) */
 198         signal_add_first("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 1106.1106) */
 199         read_settings();
 200 }
 201  
 202 void fe_recode_deinit (void) 
 203 {
Wrong Number of Parameters204         command_unbind("recode", (SIGNAL_FUNC) fe_recode_cmd);     /* Dangerous Function Cast */
 205         command_unbind("recode add", (SIGNAL_FUNC) fe_recode_add_cmd);   /* Dangerous Function Cast (ID: 1109.1109) */
 206         command_unbind("recode remove", (SIGNAL_FUNC) fe_recode_remove_cmd);   /* Dangerous Function Cast (ID: 1110.1110) */
 207         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 1107.1107) */
 208 




Change Warning 1108.1108 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: