Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at rawlog.c:218

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 105.105
Procedure: rawlog_deinit
Trace: View
Modified: Wed Sep 2 11:32:09 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/core/rawlog.c
   Enter rawlog_deinit
 208         signal_add("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 100.100) */
 209  
 210         command_bind("rawlog", NULL, (SIGNAL_FUNC) cmd_rawlog);   /* Dangerous Function Cast (ID: 104.104) */
 211         command_bind("rawlog save", NULL, (SIGNAL_FUNC) cmd_rawlog_save);   /* Dangerous Function Cast (ID: 103.103) */
 212         command_bind("rawlog open", NULL, (SIGNAL_FUNC) cmd_rawlog_open);   /* Dangerous Function Cast (ID: 102.102) */
 213         command_bind("rawlog close", NULL, (SIGNAL_FUNC) cmd_rawlog_close);   /* Dangerous Function Cast (ID: 101.101) */
 214 }
 215  
 216 void rawlog_deinit(void) 
 217 {
Wrong Number of Parameters218         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);     /* Dangerous Function Cast */
 219  
 220         command_unbind("rawlog", (SIGNAL_FUNC) cmd_rawlog);   /* Dangerous Function Cast (ID: 109.109) */
 221         command_unbind("rawlog save", (SIGNAL_FUNC) cmd_rawlog_save);   /* Dangerous Function Cast (ID: 108.108) */
 222         command_unbind("rawlog open", (SIGNAL_FUNC) cmd_rawlog_open);   /* Dangerous Function Cast (ID: 107.107) */
 223         command_unbind("rawlog close", (SIGNAL_FUNC) cmd_rawlog_close);   /* Dangerous Function Cast (ID: 106.106) */
 224 




Change Warning 105.105 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: