[icebreaker] 12/22: 1.21-11ubuntu1 Fix a buffer overflow in options.c

Andreas Gnau rondom-guest at moszumanska.debian.org
Sat Sep 9 09:06:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

rondom-guest pushed a commit to branch master
in repository icebreaker.

commit ee2a1c33e4c24c1d44630ed2d4db0d2039b323f7
Author: Alexander Faithfull <a.j.faithfull at sms.ed.ac.uk>
Date:   Mon Jul 20 17:34:34 2009 +0100

    1.21-11ubuntu1 Fix a buffer overflow in options.c
---
 debian/changelog | 6 ++++++
 debian/control   | 3 ++-
 options.c        | 4 ++--
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f91502d..bb6e63e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+icebreaker (1.21-11ubuntu1) karmic; urgency=low
+
+  * Fixed a buffer overflow in options.c that caused a crash on startup.
+
+ -- Alexander Faithfull <a.j.faithfull at sms.ed.ac.uk>  Mon, 20 Jul 2009 17:34:34 +0100
+
 icebreaker (1.21-11) unstable; urgency=low
 
   [Barry deFreese]
diff --git a/debian/control b/debian/control
index 79c0f98..2c27177 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
 Source: icebreaker
 Section: games
 Priority: optional
-Maintainer: LaMont Jones <lamont at debian.org>
+Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
+XSBC-Original-Maintainer: LaMont Jones <lamont at debian.org>
 Build-Depends: debhelper, libsdl-mixer1.2-dev (>= 1.2.0-1.1)
 Standards-Version: 3.1.1
 XS-Vcs-Browser: http://git.debian.org/?p=users/lamont/icebreaker.git
diff --git a/options.c b/options.c
index 331267b..a6f058a 100644
--- a/options.c
+++ b/options.c
@@ -50,8 +50,8 @@ int readoptions(void)
 	FILE * optionfile;
 	char linebuf[50];
 	char filename[255];
-	char optbuf[20];
-	char valbuf[10];
+	char optbuf[21];
+	char valbuf[11];
 	int i;
 	uid_t gid=getegid(), uid=geteuid();
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/icebreaker.git



More information about the Pkg-games-commits mailing list