Package: bc Version: 1.06.95 This is a bug that I reported to GNU maintainer, Phil Nelson. I have included the note from him below, which includes a patch. I can supply a test file that exhibits the bug in the present version if need be.
----- Date: Sat, 4 Oct 2008 22:48:32 -0700 From: Phil Nelson <philnel...@acm.org> Subject: Re: bc seg fault On Saturday 04 October 2008 1:30:58 am I wrote:
I believe that bc has a bug in the way it handles arrays in memory.
Try this patch. --Phil *** storage.c.orig Thu Sep 4 12:47:40 2008 --- storage.c Sat Oct 4 22:45:46 2008 *************** *** 177,183 **** /* Initialize the new elements. */ ! for (; indx < v_count; indx++) arrays[indx] = NULL; /* Free the old elements. */ --- 177,183 ---- /* Initialize the new elements. */ ! for (; indx < a_count; indx++) arrays[indx] = NULL; /* Free the old elements. */ - -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org