Date: Wed, 28 Dec 2016 05:36:58 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429712 - in head/games/openbor: . files Message-ID: <201612280536.uBS5awBZ015232@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Dec 28 05:36:58 2016 New Revision: 429712 URL: https://svnweb.freebsd.org/changeset/ports/429712 Log: games/openbor: yet another buffer overflow fix Added: head/games/openbor/files/patch-source_gamelib_packfile.h (contents, props changed) Modified: head/games/openbor/Makefile (contents, props changed) Modified: head/games/openbor/Makefile ============================================================================== --- head/games/openbor/Makefile Wed Dec 28 05:30:38 2016 (r429711) +++ head/games/openbor/Makefile Wed Dec 28 05:36:58 2016 (r429712) @@ -2,7 +2,7 @@ PORTNAME= openbor PORTVERSION= 3.0.r4420 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= LOCAL/jbeich \ https://svn.code.sf.net/p/${PORTNAME}/engine/engine/:svn Added: head/games/openbor/files/patch-source_gamelib_packfile.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openbor/files/patch-source_gamelib_packfile.h Wed Dec 28 05:36:58 2016 (r429712) @@ -0,0 +1,13 @@ +Don't crash with > 80 tracks. + +--- source/gamelib/packfile.h.orig 2015-04-18 21:22:03 UTC ++++ source/gamelib/packfile.h +@@ -42,7 +42,7 @@ typedef struct fileliststruct + { + char filename[128]; + int nTracks; +- char bgmFileName[80][256]; ++ char bgmFileName[256][80]; + int bgmTrack; + unsigned int bgmTracks[256]; + #ifdef SDL
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612280536.uBS5awBZ015232>