This is an automated email from the git hooks/post-receive script. rondom-guest pushed a commit to branch master in repository icebreaker.
commit 2454008cec19be2d982e1bdadd9c1fa0bfebb17d Author: LaMont Jones <[email protected]> Date: Wed Sep 12 09:10:48 2007 -0600 1.21-10 --- debian/changelog | 15 +++++++++++++++ debian/control | 2 ++ hiscore.c | 8 ++++---- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index bf44362..8488c4c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,18 @@ +icebreaker (1.21-10) unstable; urgency=low + + * Acknowledge NMU. Closes: #297644 + * Add link to project page to description. Closes: #348279 + + -- LaMont Jones <[email protected]> Wed, 26 Apr 2006 17:49:15 -0600 + +icebreaker (1.21-9.1) unstable; urgency=low + + * NMU + * Patch from Ulf Härnhammar to fix format string vulnerability. + Closes: #297644 + + -- Joey Hess <[email protected]> Mon, 17 Oct 2005 17:46:50 -0400 + icebreaker (1.21-9) unstable; urgency=low * Add menu icon. Closes: #275641 diff --git a/debian/control b/debian/control index 185962b..77aff7b 100644 --- a/debian/control +++ b/debian/control @@ -22,4 +22,6 @@ Description: Break the iceberg enough for shipping. Of course, if you manage to get rid of more than that, you'll save on postage, thus earning you exponential amounts of Geek Cred (a.k.a. "score"). + . + See also http://www.mattdm.org/icebreaker/ diff --git a/hiscore.c b/hiscore.c index 02fa188..95770e6 100644 --- a/hiscore.c +++ b/hiscore.c @@ -83,7 +83,7 @@ void readhiscores() // ok, so now, we can copy things over in the proper sorted order for (i=0;i<HISCORENUM;i++) { - snprintf(hiscorename[i],50,temphiscorename[arrayindex[i]]); + snprintf(hiscorename[i],50,"%s",temphiscorename[arrayindex[i]]); hiscoreval[i]=temphiscoreval[arrayindex[i]]; } @@ -109,13 +109,13 @@ void addhiscore(char * username, long score) // make sure the temp array contains the right data for (i=0;i<HISCORENUM;i++) { - snprintf(temphiscorename[i],50,hiscorename[i]); + snprintf(temphiscorename[i],50,"%s",hiscorename[i]); temphiscoreval[i]=hiscoreval[i]; } // and toss in the new data //(this is why these arrays are size HISCORENUM+1) - snprintf(temphiscorename[HISCORENUM],50,username); + snprintf(temphiscorename[HISCORENUM],50,"%s",username); temphiscoreval[HISCORENUM]=score; // fill the "helper" array. @@ -129,7 +129,7 @@ void addhiscore(char * username, long score) // and take the top ones back. for (i=0;i<HISCORENUM;i++) { - snprintf(hiscorename[i],50,temphiscorename[arrayindex[i]]); + snprintf(hiscorename[i],50,"%s",temphiscorename[arrayindex[i]]); hiscoreval[i]=temphiscoreval[arrayindex[i]]; } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/icebreaker.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

