Package: predict Version: 2.2.3-2 Severity: important Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu lucid ubuntu-patch
Hi, In Ubuntu, we've applied the attached patch to achieve the following: * Apply patch to fix buffer overflow on launching with -s (patch from Norvald H. Ryeng) We thought you might be interested in doing the same. You can see the report at https://bugs.launchpad.net/bugs/552049 Thanks, James -- System Information: Debian Release: squeeze/sid APT prefers lucid-updates APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid-proposed'), (500, 'lucid') Architecture: i386 (i686) Kernel: Linux 2.6.32-16-generic (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
=== added file 'debian/patches/140_fix-buffer-overflow.diff' --- debian/patches/140_fix-buffer-overflow.diff 1970-01-01 00:00:00 +0000 +++ debian/patches/140_fix-buffer-overflow.diff 2010-03-31 17:59:06 +0000 @@ -0,0 +1,26 @@ +Index: predict/predict-g1yyh.c +=================================================================== +--- predict.orig/predict-g1yyh.c 2010-03-31 11:13:46.314268660 +0100 ++++ predict/predict-g1yyh.c 2010-03-31 11:15:32.262268197 +0100 +@@ -194,7 +194,7 @@ + moon_az, moon_el, moon_dx, moon_ra, moon_dec, moon_gha, moon_dv; + + char qthfile[50], tlefile[50], dbfile[50], temp[80], output[25], +- serial_port[15], resave=0, reload_tle=0, netport[6], ++ serial_port[15], resave=0, reload_tle=0, netport[8], + once_per_second=0, ephem[5], sat_sun_status, findsun, + calc_squint, database=0, xterm, io_lat='N', io_lon='W', maidenstr[9]; + +Index: predict/predict.c +=================================================================== +--- predict.orig/predict.c 2010-03-31 11:13:46.262277416 +0100 ++++ predict/predict.c 2010-03-31 11:15:32.246267071 +0100 +@@ -174,7 +174,7 @@ + moon_az, moon_el, moon_dx, moon_ra, moon_dec, moon_gha, moon_dv; + + char qthfile[50], tlefile[50], dbfile[50], temp[80], output[25], +- serial_port[15], resave=0, reload_tle=0, netport[6], ++ serial_port[15], resave=0, reload_tle=0, netport[8], + once_per_second=0, ephem[5], sat_sun_status, findsun, + calc_squint, database=0, xterm, io_lat='N', io_lon='W'; + === modified file 'debian/patches/series' --- debian/patches/series 2009-11-15 23:13:29 +0000 +++ debian/patches/series 2010-03-31 17:59:06 +0000 @@ -13,3 +13,4 @@ 120_radio_FT847.diff 121_predict-g1yyh.diff 130_gtk2.diff +140_fix-buffer-overflow.diff