Bug#738339: libqhull-dev: qhull overflows stack with null outputs

D Haley mycae at gmx.com
Sun Feb 9 12:21:07 UTC 2014


Package: libqhull-dev
Version: 2009.1-3
Severity: wishlist

Dear Maintainer,
For qhull>2012, the file pointer arguments for qh_new_qhull can no longer
be null - this results in the program going into infinite recursion
between qh_fprintf and qh_error, as qh_error tries to print, and
qh_fprintf raises calls the error function, as the output pointer is null.

The output looks like the following, when running under valgrind, where
.... indicates clipped output:

QH6232 Qhull internal error (userprintf.c): fp is 0.  Wrong qh_fprintf called.
.....
QH6232 Qhull internal error (userprintf.c): fp is 0.  Wrong qh_fprintf called.
QH6232 Qhull internal error (userprintf.c): fp is 0.  Wrong qh_fprintf called.
==11016== Stack overflow in thread 1: can't grow stack to 0xffef01ff8 

For completeness, I am including this link, which states that in previous
versions of qhull ( <2011.2) passing NULL triggered a bug.
http://permalink.gmane.org/gmane.comp.gnu.octave.maintainers/25693

Thanks.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libqhull-dev depends on:
ii  libqhull5  2009.1-3

libqhull-dev recommends no packages.

libqhull-dev suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list