Your message dated Sat, 19 Nov 2005 18:32:06 -0800 with message-id <[EMAIL PROTECTED]> and subject line Bug#339739: fixed in dbskkd-cdb 1:1.01-14 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 18 Nov 2005 13:42:42 +0000 >From [EMAIL PROTECTED] Fri Nov 18 05:42:42 2005 Return-path: <[EMAIL PROTECTED]> Received: from siesta.hirune.net ([210.188.204.54]) by spohr.debian.org with smtp (Exim 4.50) id 1Ed6Vl-0001WC-Qk for [EMAIL PROTECTED]; Fri, 18 Nov 2005 05:42:42 -0800 Received: (qmail 11264 invoked from network); 18 Nov 2005 22:42:39 +0900 Received: from unknown (HELO nk) ([EMAIL PROTECTED]) by siesta.hirune.net with SMTP; 18 Nov 2005 22:42:39 +0900 Date: Fri, 18 Nov 2005 22:42:37 +0900 From: Yasuhiro Hayase <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: dbskkd-cdb cannot work correctly on 64bit system Message-Id: <[EMAIL PROTECTED]> X-Mailer: Sylpheed version 2.1.6 (GTK+ 2.6.4; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Fri__18_Nov_2005_22_42_37_+0900_1AYDw6mUy8m6cV6z" Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 This is a multi-part message in MIME format. --Multipart=_Fri__18_Nov_2005_22_42_37_+0900_1AYDw6mUy8m6cV6z Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Package: dbskkd-cdb Version: 1:1.01-13 Severity: important Tags: patch In uint32.h, uint32 is defined as follows. ===================================================================== typedef unsigned long uint32; ===================================================================== But in many 64bit system (like amd64), long is 64bit integer. And in dbskkd-cdb.c, the pointer to uint32 (defined as unsigned long) is passed as a pointer to unsigned int. ===================================================================== uint32 datalen; ... get_status = cdb_seek(jisho_fd, key, keylen, &datalen); ===================================================================== In LP64 system, latter half of variable ``datalen'' will be not initialized. So datalen may have very big value greater than 1UL<<32. --Multipart=_Fri__18_Nov_2005_22_42_37_+0900_1AYDw6mUy8m6cV6z Content-Type: text/plain; name="fix-64bitbug.diff" Content-Disposition: attachment; filename="fix-64bitbug.diff" Content-Transfer-Encoding: 7bit diff -Nru dbskkd-cdb-1.01.orig/cdb.h dbskkd-cdb-1.01/cdb.h --- dbskkd-cdb-1.01.orig/cdb.h 1998-10-22 14:42:09.000000000 +0900 +++ dbskkd-cdb-1.01/cdb.h 1970-01-01 09:00:00.000000000 +0900 @@ -1,12 +0,0 @@ -#ifndef CDB_H -#define CDB_H - -#include "uint32.h" - -extern uint32 cdb_hash(); -extern uint32 cdb_unpack(); - -extern int cdb_bread(); -extern int cdb_seek(); - -#endif diff -Nru dbskkd-cdb-1.01.orig/dbskkd-cdb.c dbskkd-cdb-1.01/dbskkd-cdb.c --- dbskkd-cdb-1.01.orig/dbskkd-cdb.c 1999-09-28 21:14:47.000000000 +0900 +++ dbskkd-cdb-1.01/dbskkd-cdb.c 2005-11-18 22:12:58.657122578 +0900 @@ -72,7 +72,7 @@ #include <signal.h> #include <limits.h> #include <syslog.h> -#include "cdb.h" +#include <cdb.h> /* architectural dependencies */ @@ -149,7 +149,7 @@ register unsigned char *pbuf, *key, *p; int length, errcode, get_status; unsigned int keylen; - uint32 datalen; + unsigned datalen; length = read(STDIN, &combuf[0], BUFSIZE - 1); if (length < 0) { diff -Nru dbskkd-cdb-1.01.orig/uint32.h dbskkd-cdb-1.01/uint32.h --- dbskkd-cdb-1.01.orig/uint32.h 1998-10-22 14:42:09.000000000 +0900 +++ dbskkd-cdb-1.01/uint32.h 1970-01-01 09:00:00.000000000 +0900 @@ -1,6 +0,0 @@ -#ifndef UINT32_H -#define UINT32_H - -typedef unsigned long uint32; - -#endif --Multipart=_Fri__18_Nov_2005_22_42_37_+0900_1AYDw6mUy8m6cV6z-- --------------------------------------- Received: (at 339739-close) by bugs.debian.org; 20 Nov 2005 02:41:22 +0000 >From [EMAIL PROTECTED] Sat Nov 19 18:41:22 2005 Return-path: <[EMAIL PROTECTED]> Received: from katie by spohr.debian.org with local (Exim 4.50) id 1Edezu-00052t-7e; Sat, 19 Nov 2005 18:32:06 -0800 From: Kenshi Muto <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.56 $ Subject: Bug#339739: fixed in dbskkd-cdb 1:1.01-14 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Sat, 19 Nov 2005 18:32:06 -0800 X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 Source: dbskkd-cdb Source-Version: 1:1.01-14 We believe that the bug you reported is fixed in the latest version of dbskkd-cdb, which is due to be installed in the Debian FTP archive: dbskkd-cdb_1.01-14.diff.gz to pool/main/d/dbskkd-cdb/dbskkd-cdb_1.01-14.diff.gz dbskkd-cdb_1.01-14.dsc to pool/main/d/dbskkd-cdb/dbskkd-cdb_1.01-14.dsc dbskkd-cdb_1.01-14_i386.deb to pool/main/d/dbskkd-cdb/dbskkd-cdb_1.01-14_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Kenshi Muto <[EMAIL PROTECTED]> (supplier of updated dbskkd-cdb package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sun, 20 Nov 2005 02:16:05 +0000 Source: dbskkd-cdb Binary: dbskkd-cdb Architecture: source i386 Version: 1:1.01-14 Distribution: unstable Urgency: low Maintainer: Kenshi Muto <[EMAIL PROTECTED]> Changed-By: Kenshi Muto <[EMAIL PROTECTED]> Description: dbskkd-cdb - The fastest dictionary server for SKK Closes: 339739 Changes: dbskkd-cdb (1:1.01-14) unstable; urgency=low . * Apply 64bit system patch (closes: #339739). Thanks Yasuhiro. Files: 6f21d77ef47ccf1a4e441d8b21da269b 661 utils optional dbskkd-cdb_1.01-14.dsc 786550d6347ef01e36f851376d5a5b3c 4697 utils optional dbskkd-cdb_1.01-14.diff.gz fb91f159b8949e54af2afbe889039681 16722 utils optional dbskkd-cdb_1.01-14_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iEYEARECAAYFAkN/3LsACgkQQKW+7XLQPLG9nwCfXCay7/LOZwsEdHeS+BS0Uzw5 4dcAoMD7o/il1sDEMH8Am1+QoMlu62lh =jfMi -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]