Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at log.c:600

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 779.26225
Procedure: log_deinit
Trace: view
Modified: Thu Nov 26 10:57:41 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/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: 781.26227) */
 599         signal_remove("setup reread", (SIGNAL_FUNC) log_read_config);   /* Dangerous Function Cast (ID: 780.26226) */
Wrong Number of Parameters600         signal_remove("irssi init finished", (SIGNAL_FUNC) log_read_config);     /* Dangerous Function Cast */
 601 } 




Change Warning 779.26225 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: