Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 9329 - pstopnm can bomb calculating resolutions
pstopnm can bomb calculating resolutions
Product: Red Hat Linux
Classification: Retired
Component: libgr (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2000-02-10 22:32 EST by Jonathan Kamens
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-02-14 11:13:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Kamens 2000-02-10 22:32:14 EST
There's a line in pstopnm which reads as follows:

set xres = `(echo "scale=4";echo "if($xres>$yres)$yres";echo
"if($yres>$xres)$xres")|bc -l`

It will fail if $xres equals $yres.  It should read:

set xres = `(echo "scale=4";echo "if($xres>$yres)$yres";echo
"if($yres>$xres)$xres";echo "if($xres==$yres)$xres")|bc -l`
Comment 1 Nalin Dahyabhai 2000-02-14 11:13:59 EST
Thanks for the heads-up.  This will be fixed in libgr-2.0.13-23 and later.

Note You need to log in before you can comment on or make changes to this bug.