Skip to content
  • Michael Natterer's avatar
    set the maximum of the "year" property to G_MAXINT >> 8 instead of · 09e8017c
    Michael Natterer authored
    2008-06-18  Michael Natterer  <mitch@imendio.com>
    
    	* gtk/gtkcalendar.c: set the maximum of the "year" property to
    	G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
    	calculations which in turn caused writing beyond the boundaries of
    	the calendar->day_month[] and day[] arrays which in turn caused a
    	SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
    
    
    svn path=/trunk/; revision=20452
    09e8017c
To find the state of this project's repository at the time of any of these versions, check out the tags.