Package: www-mysql Version: 0.5.7-20 Severity: important Tags: patch Hi,
www-mysql was segfaulting on my Sparc Ultra5 --- I tracked the problem down to the omission of an initialization of a MYSQL struct. Appended is a tiny patch that fixes the problem. Thanks for the continued maintenance! (Sometimes I wonder if I'm the only guy out there using this handy software), -matt m. --- www-sql-0.5.7-original/mysql.c 2007-01-05 22:27:30.000000000 -0500 +++ www-sql-0.5.7/mysql.c 2007-01-05 21:24:32.000000000 -0500 @@ -143,6 +143,7 @@ } conn = xmalloc(sizeof(MYSQL)); + mysql_init(conn); mysql_real_connect(conn, host, user, pass, 0, 0, 0, 0); #ifdef mysql_errno if (mysql_errno(conn)) { -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: sparc (sparc64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.27-2-sparc64 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages www-mysql depends on: ii apache-ssl 1.3.34-4 versatile, high-performance HTTP s ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries ii libmysqlclient15off 5.0.30-3 mysql database client library ii wn 2.2.9-3 Secure and efficient http server w www-mysql recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]