The pdf_time_from_string_002 test case allocates 23 bytes, and then
memset()s 26.

Patch to fix follows. Please apply.

Brad

--- torture/unit/base/time/pdf-time-from-string.c       2009-05-07 10:31:42 
+0000  
+++ torture/unit/base/time/pdf-time-from-string.c       2009-06-13 12:27:43 
+0000  
@@ -170,7 +170,7 @@                                                             
   
             dates[i].hour*3600 - gmt*60;                                       
   
                                                                                
   
             if ( seconds < 0) continue;                                        
   
-            memset(&dateString[0], 0, 26);                                     
   
+            memset(&dateString[0], 0, 23);                                     
   
                                                                                
   
             pdf_time_set_from_u32(time1,seconds);                              
   
 


Reply via email to