-
-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
Hi,
1.9.20, compiled from source (tested on RHEL 8 and Fedora 40) segfaults when passed HTML data via standard input. A minimal repro:
[peter@recess htmldoc-1.9.20]$ ./htmldoc/htmldoc --quiet --webpage -t pdf -f output.pdf - <<< '<html></html>'
Segmentation fault (core dumped)
[peter@recess htmldoc-1.9.20]$This works fine on all previous releases.
It does not have a problem reading the same data from disk:
[peter@recess htmldoc-1.9.20]$ rm -f input.html output.pdf
[peter@recess htmldoc-1.9.20]$ echo '<html></html' > input.html
[peter@recess htmldoc-1.9.20]$ ./htmldoc/htmldoc --quiet --webpage -t pdf -f output.pdf input.html
[peter@recess htmldoc-1.9.20]$ file output.pdf
output.pdf: PDF document, version 1.4
[peter@recess htmldoc-1.9.20]$