On Tue, Mar 14, 2006 at 10:51:51AM +0100, G?rkan wrote:

> * Package name    : moleinvasion
>   Version         : 0.2
>   Upstream Author : Guillaume Chambraud <[EMAIL PROTECTED]>
> * URL             : http://moleinvasion.tuxfamily.org/
> * License         : GNU General Public License, version 2
>   Description     : Jump'n run game with Tux
>  This is a classic jump?n run game where Tux must deal with Moles.
>  .
>  Homepage: http://moleinvasion.tuxfamily.org/
> 

  Please consider the following patch:

--- font.c-orig 2006-03-14 11:30:45.000000000 +0000
+++ font.c      2006-03-14 11:31:14.000000000 +0000
@@ -122,7 +122,9 @@
        FILE * fd=NULL;

        if(getenv("LANG"))
-       {       sprintf(buffer,"txt/%s",getenv("LANG"));
+       {
+               memset(buffer,'\0',sizeof(buffer));
+               snprintf(buffer,sizeof(buffer)-1,"txt/%s",getenv("LANG"));
                ptr=strchr(buffer,'_');
                sprintf(ptr,"_%s",LONG_TXT_FILE);


Steve
-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to