Your message dated Sat, 09 Mar 2019 20:41:35 +0000
with message-id <[email protected]>
and subject line Bug#924028: fixed in gv 1:3.7.4-3
has caused the Debian Bug report #924028,
regarding gv: segv on certain blank line
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
924028: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924028
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gv
Version: 1:3.7.4-1
Severity: normal
File: /usr/bin/gv
With the foo.ps below running
gv foo.ps
gets a segfault. The blank line in foo.ps seems to matter. If you take
it away then gv doesn't segv.
I struck this in some output from an "lsys" program. This foo.ps is an
extremely cut down version of its output. I have no idea if this or the
original are correct postscript. Perhaps not. I hoped that if not then
it would provoke an error message of some sort rather than a segv.
Building with noopt and under gdb suggests the offending part may be
__strlen_ia32 () at ../sysdeps/i386/i686/multiarch/../../i586/strlen.S:98
98 ../sysdeps/i386/i686/multiarch/../../i586/strlen.S: No such file or
directory.
(gdb) where
#0 __strlen_ia32 () at ../sysdeps/i386/i686/multiarch/../../i586/strlen.S:98
#1 0x0806ba3f in setup_ghostview () at misc.c:999
#2 0x080686c9 in main (argc=2, argv=0xbffff914) at main.c:1238
with misc.c:999
maxlen = max(maxlen, (int)strlen(doc->pages[i].label));
i==0 and doc->pages[i].label == NULL, so strlen(NULL) faulting. Should
it watch out for structured but dodgy documents leaving label=NULL?
foo.ps
Description: PostScript document
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gv depends on:
ii ghostscript-x 9.05~dfsg-8
ii libc6 2.17-93
ii libx11-6 2:1.6.2-1
ii libxinerama1 2:1.1.3-1
ii libxmu6 2:1.1.1-1
ii libxt6 1:1.1.4-1
ii xaw3dg 1.5+E-18.2
Versions of packages gv recommends:
ii xaw3dg 1.5+E-18.2
gv suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: gv
Source-Version: 1:3.7.4-3
We believe that the bug you reported is fixed in the latest version of
gv, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bernhard R. Link <[email protected]> (supplier of updated gv package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 09 Mar 2019 19:36:40 +0100
Source: gv
Binary: gv gv-dbgsym
Architecture: source amd64
Version: 1:3.7.4-3
Distribution: experimental
Urgency: medium
Maintainer: Bernhard R. Link <[email protected]>
Changed-By: Bernhard R. Link <[email protected]>
Description:
gv - PostScript and PDF viewer for X
Closes: 729618 824745 902141 924028
Changes:
gv (1:3.7.4-3) experimental; urgency=medium
.
* also register application/postscript in gv.mime (Closes: #902141)
* cherry-pick commits from unreleased upstream:
- Fix crash in zoom.c (Closes: #824745)
- Do not segfault on buggy postscript files (Closes: #729618, #924028)
Checksums-Sha1:
cd4c9111a452b499e4928fd09fec9ee727c6ca81 1762 gv_3.7.4-3.dsc
d865000b1c2d7d4247575ad9096a618d7dd99b2d 13960 gv_3.7.4-3.debian.tar.xz
d4197206cbce140045c03f9fe6b6b3b2f780a653 586852 gv-dbgsym_3.7.4-3_amd64.deb
0ab5fb381c7f392f59fa93154f359d8f99d703bc 6384 gv_3.7.4-3_amd64.buildinfo
e7be457aaa4d7c99a5f9d354d6a981cecb9f2b99 219020 gv_3.7.4-3_amd64.deb
Checksums-Sha256:
c4556200a591c5b3655f344bdbfef90207edb05b359ae45ca4f6168e1ae5fcd0 1762
gv_3.7.4-3.dsc
63bd05af678dd7999659a10989eb4152e7b8616f137a65ae4857640f7e296281 13960
gv_3.7.4-3.debian.tar.xz
21d993b8fc75b5cab2a50316bce2f670bcf5e97a0c5651c592dbc45fb99f5222 586852
gv-dbgsym_3.7.4-3_amd64.deb
e23540ff237cd85063f041ad2724c6153e4e4ec934789473fc4d0f9035289a09 6384
gv_3.7.4-3_amd64.buildinfo
38fd735a806736b0e97f493f21b78d3bb872d77bc6ae10f662c4509fd128bc0f 219020
gv_3.7.4-3_amd64.deb
Files:
8eaae80a7aae8ce29d9495d132c5c426 1762 text optional gv_3.7.4-3.dsc
ab8ee1c2e6930b65fb7dd3edcaeab24a 13960 text optional gv_3.7.4-3.debian.tar.xz
2b65c96c88c8756e86943d27c895541c 586852 debug optional
gv-dbgsym_3.7.4-3_amd64.deb
1e378c60dcfbdaf590c85e1641e3e460 6384 text optional gv_3.7.4-3_amd64.buildinfo
cf7c1b3d90b0f3a3192060a2a72285c4 219020 text optional gv_3.7.4-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCAAwFiEER2LYZQQfdf9pay9D6ZZIQUY/gV8FAlyEH8gSHGJybGlua0Bk
ZWJpYW4ub3JnAAoJEOmWSEFGP4Ff7OwP/iJAo/Yol5Cog3q2cRyIbxLD07LSlZz/
P7qfXNzCMn2cTM8tNAvbk2FgSejccJuoN7FQlHO04I+2+fqZQwDrIsleEaOTAz8D
AU/nJ6baCmVTcLCzEWYZ3bB7ZjgKgYrjRuRjFIqEgfjmFszbbA9ftCrPCPoNiuPy
hW2Vm5p0OWL3qxrOGgPjYXnfXpAMVKf8atwSA1tTwUIDjQ+rSnU4lgt9nzjYURtd
aV2NDWb+LeTRu2dFuA2BV27nfSv2b782kzKeIN2kem7Rq/+XEOkNLPufU8UxyZOK
c4n+g9jhcLCz1LcH/DY8a82dFh6L3Ygmj7JqjVRYnhE7W2LwNwUMe/hIYfPPg3Ez
ynTZxB/a0AWJ5UGvWoovka+D4Wwp5M5utDsFoU/vnn5preExIbCJo3reKAlOEwec
11KqVQHNXqfsx72HH1E8dNj9xyBmuF09FNDkXg6qyFFfrePhICm9ikKPPbAWOGxN
9mm65CZb93QxkZBkrs7983PdvBboWEgYQZPG1JTfZc3qwAjWHk4jtAkSPW1j2kKH
ti2UEbwcgmORet3yMJqHnLLwIHEn8J//w0np9NtfHTTGo7Wsc15enjATrLYvMQ8C
sd5wG5qPl8FFJi1mV8mie6kEhRkanQwR5Bie2oVoKIEsRwz1OWm6C5wnofUR6eyO
iBNkhWoyc7QM
=+oyG
-----END PGP SIGNATURE-----
--- End Message ---