Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at fe-windows.c:630

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2369.27361
Procedure: sig_check_daychange
Trace: view
Modified: Thu Nov 26 11:02:27 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/fe-common/core/fe-windows.c
   Enter sig_check_daychange
 620         }
 621  
 622         if (tm->tm_hour != 23 || tm->tm_min != 59) {
 623                 daycheck = 0;
 624                 return TRUE;
 625         }
 626  
 627         /* time is 23:59 */ 
 628         if (daycheck == 0) {
 629                 daycheck = 1;
Wrong Number of Parameters630                 signal_add("print text", (SIGNAL_FUNC) sig_print_text);     /* Dangerous Function Cast */
 631         }
 632         return TRUE;
 633 } 
 634  
 635 static void read_settings(void)
 636 {
 637         if (daytag != -1) {
 638                 g_source_remove(daytag);
 639                 daytag = -1;
 640         }




Change Warning 2369.27361 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: