Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at autoignore.c:83

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 648.648
Procedure: autoignore_init
Trace: View
Modified: Wed Sep 2 11:35:53 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/irc/flood/autoignore.c
   Enter autoignore_init
 73                         autoignore_update(rec, level);
 74         }
 75         g_free(mask);
 76 }
 77  
 78 void autoignore_init(void) 
 79 {
 80         settings_add_time("flood", "autoignore_time", "5min");
 81         settings_add_level("flood", "autoignore_level", "");
 82  
Wrong Number of Parameters83         signal_add("flood", (SIGNAL_FUNC) sig_flood);     /* Dangerous Function Cast */
 84 
 85  
 86 void autoignore_deinit(void)
 87 {
 88         signal_remove("flood", (SIGNAL_FUNC) sig_flood);   /* Dangerous Function Cast (ID: 649.649) */
 89 }




Change Warning 648.648 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: