Bug 9329 - pstopnm can bomb calculating resolutions
pstopnm can bomb calculating resolutions
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: libgr (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2000-02-14 11:13:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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.