Package: libclucene0
Version: 0.9.16a-3

Hi there,

Attached is a patch that fixes a segfault on x86_64 machines. This is
explained further in the following upstream bug:

http://sourceforge.net/tracker/index.php?func=detail&aid=1753827&group_id=80013&atid=558446

I am about to introduce a package into Debian of the software that the
reporter of the above bug was using when the bug was found. Therefore,
without this patch being applied my package will be very prone to
segfaults on x86_64 architectures.

Regards,

-- 
Jonny Lamb, UK                               [EMAIL PROTECTED]
http://jonnylamb.com                                 GPG: 0x2E039402
diff -Nru clucene-core-0.9.16a.orig/src/CLucene/config/compiler.h clucene-core-0.9.16a/src/CLucene/config/compiler.h
--- clucene-core-0.9.16a.orig/src/CLucene/config/compiler.h	2007-07-30 00:46:30.000000000 +0100
+++ clucene-core-0.9.16a/src/CLucene/config/compiler.h	2007-07-30 00:47:13.000000000 +0100
@@ -146,7 +146,7 @@
 #define CL_MAX_NAME CL_MAX_PATH
 //todo: this is a temporary fix for a potential buffer overflow...
 //should never use this
-#define CL_MAX_DIR CL_MAX_PATH*32
+#define CL_MAX_DIR CL_MAX_PATH*2
 
 #ifdef _LARGE_FILES
     #define LUCENE_MAX_FILELENGTH LUCENE_INT64_MAX_SHOULDBE

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to