Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at log.c:600

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 72.72
Procedure: log_deinit
Trace: View
Modified: Wed Sep 2 11:31:49 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/log.c
   Enter log_deinit
 590  
 591 void log_deinit(void) 
 592 {
 593         g_source_remove(rotate_tag);
 594  
 595         while (logs != NULL)
 596                 log_close(logs->data);
 597  
 598         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 74.74) */
 599         signal_remove("setup reread", (SIGNAL_FUNC) log_read_config);   /* Dangerous Function Cast (ID: 73.73) */
Wrong Number of Parameters600         signal_remove("irssi init finished", (SIGNAL_FUNC) log_read_config);     /* Dangerous Function Cast */
 601 




Change Warning 72.72 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: