Bug#418021: Bug #418021

2007-04-06 Thread ldoolitt
eyck - As the author of the patch that apparently broke your application, this report totally baffles me. Can you confirm that downgrading to libx11-6 version 2:1.0.3-6 removes the problem? Are you able to patch and rebuild test versions of libx11? If so, one quick thing to try is to put back th

Bug#417673: detecting overflow in multiplication

2007-04-05 Thread ldoolitt
Florian Weimer's April 5 post asserts that the origin of this bug is an integer overflow in multiplication (clusters*fs->cluster_size). The canonical check for such overflow (within the constructs of ANSI C) is well known to regular readers of comp.lang.c. It goes something like this: #define OVE

Bug#413041: bug reproduces in standalone jasper

2007-03-27 Thread ldoolitt
On Tue, Mar 27, 2007 at 11:08:20AM -0700, [EMAIL PROTECTED] wrote: > It's quite a Heisenbug, disappearing when you put any > malloc in besides vanilla libc; I tried electric fence > and dmalloc, I understand valgrind is the same. I don't know what went wrong the first time, I tried again and Elect

Bug#413041: bug reproduces in standalone jasper

2007-03-27 Thread ldoolitt
I have to walk away from this bug for a while. Maybe this message can give someone else a head start. It's quite a Heisenbug, disappearing when you put any malloc in besides vanilla libc; I tried electric fence and dmalloc, I understand valgrind is the same. My comments refer to broken2.jp2. Th

Bug#414045: debugging graphicsmagick-1.1.7 and/or libx11-1.0.3

2007-03-25 Thread ldoolitt
On Sat, Mar 24, 2007 at 04:29:23PM +0100, Julien Cristau wrote: > So you're saying the remaining problem is in graphicsmagick, not Xlib? I previously posted a patch for graphicsmagick that fixes broken.xwd. Here is a patch for libx11 that fixes broken2.xwd. I thought about possible ways to fixing

Bug#414045: debugging graphicsmagick-1.1.7 and/or libx11-1.0.3

2007-03-24 Thread ldoolitt
On Sat, Mar 24, 2007 at 04:29:23PM +0100, Julien Cristau wrote: > So you're saying the remaining problem is in graphicsmagick, not Xlib? I recommend further testing and investigation by others. My analysis showed a clear bug in graphicsmagick, and I posted a fix for it. When I retested, only brok

Bug#414045: debugging graphicsmagick-1.1.7 and/or libx11-1.0.3

2007-03-23 Thread ldoolitt
The root problem is integer overflow in the multiplication at line 292 of graphicsmagick-1.1.7/coders/xwd.c. With the appended patch, the two test cases result in the following on my amd64 sid box: $ gm convert broken.xwd test.png gm convert: Memory allocation failed (broken.xwd). $ echo $? 1 $ g

Bug#414045: debugging graphicsmagick-1.1.7 and/or libx11-1.0.3

2007-03-23 Thread ldoolitt
Daniel - For both the broken.xwd and broken2.xwd files in bug #414045, the offending operation is in libx11-1.0.3/src/ImUtil.c:505 dst++ = *src++; and in fact it's the src pointer that is out of range. This suggests it's "only" a DOS problem, or at worst an information leak problem, but no dire

Bug#411063: improper PAGE_SIZE usage in vvp/main.cc

2007-02-16 Thread ldoolitt
PAGE_SIZE patch for Debian verilog 0.8-4.1, fixing bug#411063. If for some reason the sysconf() call fails, I think 0 is the best possible result: it is obviously incorrect. Steve, the same change should also be applied to 0.9. - Larry --- /home/ldoolitt/deb-src/verilog-0.8/vvp/main.cc

Bug#242866: updated tg3.c patch

2006-08-17 Thread ldoolitt
The most recent tg3.c patch posted here (by Herbert Xu on Tue, 11 May 2004) does not apply cleanly to linux-2.6.17. No surprise, a lot has changed in the last two years. I applied it by hand (it wasn't hard), and I can verify that the result (freshened patch attached) compiles without error. I c

Bug#383403: closed by maximilian attems <[EMAIL PROTECTED]> (Re: Bug#383403: linux-2.6: includes nondistributable and non-free binary firmware)

2006-08-17 Thread ldoolitt
Maks - On Thu, Aug 17, 2006 at 12:48:15AM -0700, Debian Bug Tracking System wrote: > On Wed, Aug 16, 2006 at 05:17:34PM -0700, Larry Doolittle wrote: > > Package: linux-2.6 > > Severity: serious > > Justification: Policy 2.1 > > how about if you check for duplicate bug reports! > see #242866 for

Bug#375925: duplicate

2006-06-28 Thread ldoolitt
Hamish's report beat mine by 25 minutes, and included more detail as well. Please merge this one (#375925) with #375923. - Larry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#369726: xcircuit 3.6.24-1 unusable on amd64

2006-06-01 Thread ldoolitt
Michael - On Thu, Jun 01, 2006 at 10:31:41AM +0200, Michael Ablassmeier wrote: > On Wed, May 31, 2006 at 09:47:11PM -0700, Steve Langasek wrote: > > The attached patch fixes [typedef void (*XwStrProc)], and gives > > me a minimally-usable package on amd64. I can confirm this. Thanks, Steve! > t