Package: gs
Version: 6.53-3
Severity: normal

hello,

I've got a .pdf which converted to .ps by pstopdf gives a gv-readable .ps.
Then I need to write a (scaled-down ppm), but got segv, which might have 
security issues as well):

Starting program: /usr/bin/gs-gnu -sDEVICE=ppmraw -sOutputFile=trek03.pnm 
-g200x270 -r25x25 -q -dNOPAUSE trek03.ps
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 1024 (LWP 7786)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7786)]
0x080b1aab in strcpy ()
(gdb) bt
#0  0x080b1aab in strcpy ()
#1  0x083d6688 in ?? ()
#2  0x08174cf4 in png_push_fill_buffer ()
#3  0x080b1a60 in strcpy ()
#4  0x080b0be8 in strcpy ()
#5  0x080cbbe0 in strcpy ()
#6  0x08096d81 in strcpy ()
#7  0x08096c2c in strcpy ()
#8  0x08092f6c in strcpy ()
#9  0x080951b7 in strcpy ()
#10 0x080930dc in strcpy ()
#11 0x08092fd2 in strcpy ()
#12 0x0808d36e in strcpy ()
#13 0x0808d27e in strcpy ()
#14 0x0808d226 in strcpy ()
#15 0x0808edff in strcpy ()
#16 0x0808edd3 in strcpy ()
#17 0x0808eb74 in strcpy ()
#18 0x0808dcea in strcpy ()
#19 0x0804c9c1 in strcpy ()
#20 0x402820bf in __libc_start_main () from /lib/libc.so.6

gs-gpl 8.01-5 works ok (did a backport), but note that this gs-gnu is linked
to 

ldd /usr/bin/gs-gnu
...
        libpng.so.2 => /usr/lib/libpng.so.2 (0x40026000)
...

libpng2: /usr/lib/libpng.so.2

while above gs-gpl was linked against

ldd /usr/bin/gs-gpl
...
        libpng.so.3 => /usr/lib/libpng.so.3 (0x40155000)
...

libpng3: /usr/lib/libpng.so.3

Of course, system is kept apt-updated.

-- 
 paolo
 
 GPG/PGP id:0x21426690 kfp:EDFB 0103 A8D8 4180 8AB5  D59E 9771 0F28 2142 6690
 "Indeed, it does come with warranty: it *will* fail, sometimes, somehow..."
                                                           - software vendor

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux npp 2.4.26-ss-fb-lm287 #1 Fri Jul 16 21:26:09 CEST 2004 i686
Locale: [EMAIL PROTECTED], LC_CTYPE="[EMAIL PROTECTED]"

Versions of packages gs depends on:
ii  gs-common              0.3.3.0woody1     Common files for different Ghostsc
ii  libc6                  2.2.5-14.3        GNU C Library: Shared libraries an
ii  libgimpprint1          4.2.5-3           Gimp-Print printer drivers - core 
ii  libpaperg              1.1.8             Library for handling paper charact
ii  libpng2                1.0.12-3.woody.9  PNG library - runtime
ii  xlibs                  4.2.1-3           X Window System client libraries
ii  zlib1g                 1:1.1.4-1.0woody0 compression library - runtime


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to