[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
plotutils bugs in graph, libplot -Tps
From: |
Steve Tell |
Subject: |
plotutils bugs in graph, libplot -Tps |
Date: |
Wed, 30 Apr 2003 02:41:54 -0400 (EDT) |
I believe I've found two bugs in plotutils-2.4.1 .
A patch addressing them is attached.
The plotter.c fix is an unitialized data-structure bug that can cause
garbage datapoint output, outrageous BoundingBox coordinates, and blank
pages. Depending on system and malloc differences, it may nor may not show
up. On one system (linux/intel) I've seen it show up only on datafile
input with more than 1024 points (which involves calls to realloc()).
The postscript header bug seems to affect most postscript output. The
symptom with ghostscript is a "rangecheck" error. I'm not sure how it ever
worked. Perhaps some postscript interpreters allow sloppiness in nested
array references; the original was pushing an array containing a single
element which is itself an array, and trying to dereference from the inner
array.
--
Steve Tell
tell AT telltronics.NOSPAM.org
plotutils-2.4.1.patch
Description: patch for plotutils-2.4.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- plotutils bugs in graph, libplot -Tps,
Steve Tell <=