* [gentoo-commits] gentoo-x86 commit in games-puzzle/toppler/files: toppler-1.1.3-ovflfix.patch
@ 2010-11-02 9:29 Alfredo Tupone (tupone)
0 siblings, 0 replies; only message in thread
From: Alfredo Tupone (tupone) @ 2010-11-02 9:29 UTC (permalink / raw
To: gentoo-commits
tupone 10/11/02 09:29:36
Added: toppler-1.1.3-ovflfix.patch
Log:
Fix overflow. Bug #339702
(Portage version: 2.1.9.24/cvs/Linux i686)
Revision Changes Path
1.1 games-puzzle/toppler/files/toppler-1.1.3-ovflfix.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/toppler/files/toppler-1.1.3-ovflfix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/toppler/files/toppler-1.1.3-ovflfix.patch?rev=1.1&content-type=text/plain
Index: toppler-1.1.3-ovflfix.patch
===================================================================
--- leveledit.cc.old 2010-11-02 09:33:24.000000000 +0100
+++ leveledit.cc 2010-11-02 10:12:11.000000000 +0100
@@ -436,7 +436,7 @@
snprintf(knam, 256, "%s%s", keymod2str(_ed_keys[k].mod), SDL_GetKeyName(_ed_keys[k].key));
- snprintf(tabbuf2, 256, "%3i", maxkeylen - scr_textlength(knam));
+ snprintf(tabbuf2, sizeof(tabbuf2), "%3i", maxkeylen - scr_textlength(knam));
if (tabbuf2[0] < '0') tabbuf2[0] = '0';
if (tabbuf2[1] < '0') tabbuf2[1] = '0';
if (tabbuf2[2] < '0') tabbuf2[2] = '0';
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-02 9:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-02 9:29 [gentoo-commits] gentoo-x86 commit in games-puzzle/toppler/files: toppler-1.1.3-ovflfix.patch Alfredo Tupone (tupone)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox