[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] fixing unit test issues - pdf_i64_div_005
From: |
jemarch |
Subject: |
Re: [pdf-devel] fixing unit test issues - pdf_i64_div_005 |
Date: |
Sat, 13 Jun 2009 17:39:37 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi Brad.
I'm investigating the test failures that I'm seeing on an AMD64
box, Fedora 9.
Quite useful, many thanks.
Start with types. It appears to have one issue:
base/types/pdf-i64-div.c:168:E:pdf_i64_div:pdf_i64_div_005:0:
(after this point) Received signal 11 (Segmentation fault)
I'm pretty confident that there is a buffer overflow, but I have no ideas
what the fix is.
Did you specify --enable-bignum-forcing in configure time? That
architecture features built in 64bit integers, and by default
PDF_USE_BUILDING_64BIT_SUPPORT should be 1.
I added an assert that triggers on the problem, but don't have a real
fix.
I just created a NEXT task in the flyspray to investigate this.
--
Jose E. Marchesi <address@hidden>
http://www.jemarch.net
GNU Project http://www.gnu.org