Bug#247029: ITP: bastet -- GPL'd clone of Tetris, featuring a bastard tetris level

2004-05-03 Thread Guillem Jover
Hi,

On Sun, May 02, 2004 at 04:53:59PM -0500, David Moreno Garza wrote:
 * Package name: bastet
   Version : 0.37
   Upstream Author : Federico Poloni [EMAIL PROTECTED]
 * URL : http://fph.altervista.org/prog/bastet.shtml
 * License : MIT/X
   Description : GPL'd clone of Tetris, featuring a bastard tetris level

If it's GPL why is MIT/X in the License field?

Also I don't think there is a need to specify the kind of license in the
description, if it's in main it's DFSG free.

 Bastet (stands for bastard tetris) is a free (GPL'd) clone of Tetris(r)
 (built on the top of petris by Peter Seidler) which is designed to be
 as bastard as possible: it tries to compute how useful blocks are and
 gives you the worst, the most bastard it can find. Playing bastet can be
 a painful experience, especially if you usually make canyons and wait for
 the long I-shaped block.

You may be carefull when using the Te**is nameas I think they used to
send cease or desist letters to people using it. Better ask on
debian-legal, as I'm not totally sure on this.

regards,
guillem



Bug#247029: ITP: bastet -- GPL'd clone of Tetris, featuring a bastard tetris level

2004-05-02 Thread David Moreno Garza
Package: wnpp
Severity: wishlist


* Package name: bastet
  Version : 0.37
  Upstream Author : Federico Poloni [EMAIL PROTECTED]
* URL : http://fph.altervista.org/prog/bastet.shtml
* License : MIT/X
  Description : GPL'd clone of Tetris, featuring a bastard tetris level

Bastet (stands for bastard tetris) is a free (GPL'd) clone of Tetris(r)
(built on the top of petris by Peter Seidler) which is designed to be
as bastard as possible: it tries to compute how useful blocks are and
gives you the worst, the most bastard it can find. Playing bastet can be
a painful experience, especially if you usually make canyons and wait for
the long I-shaped block.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=C, LC_CTYPE=POSIX



Bug#247029: ITP: bastet -- GPL'd clone of Tetris, featuring a bastard tetris level

2004-05-02 Thread Steve Kemp
On Sun, May 02, 2004 at 04:53:59PM -0500, David Moreno Garza wrote:

 Bastet (stands for bastard tetris) is a free (GPL'd) clone of Tetris(r)
 (built on the top of petris by Peter Seidler) which is designed to be
 as bastard as possible: it tries to compute how useful blocks are and
 gives you the worst, the most bastard it can find.

  I still believe that tetris is the best game ever invented and this
 is evil!

  If you're planning on making this setuid(games) to take advantage
 of the shared highscore please apply the following patch, which guards
 against the 'getenv(USER);' overflow.

Steve
--
# Debian Security Audit Project
http://www.shellcode.org/Audit/



--- highscore.c-orig2004-05-02 23:54:11.0 +0100
+++ highscore.c 2004-05-02 23:55:25.0 +0100
@@ -69,12 +69,14 @@
 
/* Move entries one position down starting at index. */
for (i = SIZE_HS_LIST - 1; i  index; i--) {
-   strcpy(hs_list[i].name, hs_list[i-1].name);
+   memset(hs_list[i].name,'\0',sizeof(hs_list[i].name)-1);
+   strncpy(hs_list[i].name, 
hs_list[i-1].name,sizeof(hs_list[i].name)-1);
hs_list[i].points = hs_list[i-1].points;
}
 
/* Insert new entry. */
-   strcpy(hs_list[index].name, name);
+   memset(hs_list[index].name,'\0',sizeof(hs_list[index].name));
+   strncpy(hs_list[index].name, name,sizeof(hs_list[index].name)-1);
hs_list[index].points = points;
 }



Bug#247029: ITP: bastet -- GPL'd clone of Tetris, featuring a bastard tetris level

2004-05-02 Thread Nicolas Boullis
On Sun, May 02, 2004 at 04:53:59PM -0500, David Moreno Garza wrote:
 Bastet (stands for bastard tetris) is a free (GPL'd) clone of Tetris(r)
 (built on the top of petris by Peter Seidler) which is designed to be
 as bastard as possible: it tries to compute how useful blocks are and
 gives you the worst, the most bastard it can find. Playing bastet can be
 a painful experience, especially if you usually make canyons and wait for
 the long I-shaped block.

I want it! :-)

Nicolas