Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at rawlog.c:221

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 815.26261
Procedure: rawlog_deinit
Trace: view
Modified: Thu Nov 26 10:57:55 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/core/rawlog.c
   Enter rawlog_deinit
 211         command_bind("rawlog save", NULL, (SIGNAL_FUNC) cmd_rawlog_save);   /* Dangerous Function Cast (ID: 810.26256) */
 212         command_bind("rawlog open", NULL, (SIGNAL_FUNC) cmd_rawlog_open);   /* Dangerous Function Cast (ID: 809.26255) */
 213         command_bind("rawlog close", NULL, (SIGNAL_FUNC) cmd_rawlog_close);   /* Dangerous Function Cast (ID: 808.26254) */
 214 }
 215  
 216 void rawlog_deinit(void) 
 217 {
 218         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 812.26258) */
 219  
 220         command_unbind("rawlog", (SIGNAL_FUNC) cmd_rawlog);   /* Dangerous Function Cast (ID: 816.26262) */
Wrong Number of Parameters221         command_unbind("rawlog save", (SIGNAL_FUNC) cmd_rawlog_save);     /* Dangerous Function Cast */
 222         command_unbind("rawlog open", (SIGNAL_FUNC) cmd_rawlog_open);   /* Dangerous Function Cast (ID: 814.26260) */
 223         command_unbind("rawlog close", (SIGNAL_FUNC) cmd_rawlog_close);   /* Dangerous Function Cast (ID: 813.26259) */
 224 } 




Change Warning 815.26261 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: