Author: pdewacht-guest
Date: 2009-11-21 18:46:22 +0000 (Sat, 21 Nov 2009)
New Revision: 10550

Added:
   packages/trunk/xboing/debian/patches/050_font_not_found_buffer_overflow.diff
Modified:
   packages/trunk/xboing/debian/changelog
   packages/trunk/xboing/debian/patches/series
Log:
xboing: fixed segfault on startup (#557362)


Modified: packages/trunk/xboing/debian/changelog
===================================================================
--- packages/trunk/xboing/debian/changelog      2009-11-21 18:35:33 UTC (rev 
10549)
+++ packages/trunk/xboing/debian/changelog      2009-11-21 18:46:22 UTC (rev 
10550)
@@ -7,8 +7,10 @@
   [ Peter De Wachter ]
   * Refreshed patches, now compatible with source format 3.0 (quilt)
     (Closes: #532580)
+  * Fixed a buffer overflow when xboing warns about a missing font
+    (Closes: #557362)
 
- -- Peter De Wachter <[email protected]>  Sat, 21 Nov 2009 19:32:34 +0100
+ -- Peter De Wachter <[email protected]>  Sat, 21 Nov 2009 19:42:32 +0100
 
 xboing (2.4-31) unstable; urgency=low
 

Added: 
packages/trunk/xboing/debian/patches/050_font_not_found_buffer_overflow.diff
===================================================================
--- 
packages/trunk/xboing/debian/patches/050_font_not_found_buffer_overflow.diff    
                            (rev 0)
+++ 
packages/trunk/xboing/debian/patches/050_font_not_found_buffer_overflow.diff    
    2009-11-21 18:46:22 UTC (rev 10550)
@@ -0,0 +1,11 @@
+--- a/init.c
++++ b/init.c
+@@ -266,7 +266,7 @@
+ #endif
+ {
+       /* Create all required font structures */
+-      char str[80];
++      char str[500];
+ 
+       /* Font used for titles */
+     if (!(titleFont = XLoadQueryFont(display, TITLE_FONT)))

Modified: packages/trunk/xboing/debian/patches/series
===================================================================
--- packages/trunk/xboing/debian/patches/series 2009-11-21 18:35:33 UTC (rev 
10549)
+++ packages/trunk/xboing/debian/patches/series 2009-11-21 18:46:22 UTC (rev 
10550)
@@ -6,3 +6,4 @@
 xboing.6x_man_section.diff
 030_auto_validate_yn.diff
 040_manpage_errors.diff
+050_font_not_found_buffer_overflow.diff


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to