Your message dated Sat, 12 May 2012 10:35:02 +0000
with message-id <[email protected]>
and subject line Bug#662240: fixed in pdfcube 0.0.4-2
has caused the Debian Bug report #662240,
regarding pdfcube: -Warray-bounds in pdfcube.cc
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.)
--
662240: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662240
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pdfcube
Severity: normal
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Dear Maintainer,
While building pdfcube I found the following warnings:
pdfcube.cc: In member function 'void pdfcube::redraw(GtkWidget*)':
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1115:73: warning: array subscript is above array bounds
[-Warray-bounds]
pdfcube.cc:1119:73: warning: array subscript is above array bounds
[-Warray-bounds]
The problem is in the following code snippet (pdfcube.cc:1115 and
pdfcube.cc:1119):
glColor4f(top_color[0], top_color[1], top_color[2], top_color[4]);
top_color is defined in pdfcube.cc:102:
static GLfloat top_color[4] = { 0.7, 0.6, 0.6, 0.0 };
The array has only four elements, but the fifth element is
accessed. Changing top_color[4] to top_color[3] fixes the
warning, but I haven't tested pdfcube with the change.
Regards,
Simon
- -- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJPU+A2AAoJEJL+/bfkTDL5K5sP/39XNSZCCdS1aRS4HFMQvSqT
EII6tY6MQVU5k/jJ7ZveDVRs3QjA6uUF4246QXtw+NC79AFkuuOIIMVwNSU6kNBX
AqJNSX5815KKf2NHI9pv3BgkkGe2y8pQGnu5uEvJEAx8KqHApkeQwOtdAhi6Z6hN
l4oVzX6DMwGMMUI2xdjcMrHkX7W9AKsJFhHrp+8fb3m+CP4IR7Q1XDi11/WukkAx
mjOP73RlZlTbKria4w7F3qmepv0hR0wKykKiXuYmG14Gvqw/3WxqHIzwHtNAi8C3
+ZvTSyPyh19qozD2Sx+quLjwA40TD0ttxwUuzH7PErjnww2/zbrn2Q9JG1uII6Mg
FLJKbZIdN+zBvpWOwcNDhK4GzXrNCnoRt0LRSGtIbdUyvSKbh86AGayDYO3UMsom
95fzh8/WYyE/5INYP4wpOsznXrrrG8czIWiVehj6jYUDtopNWjWPWW6izUTMKlyj
Z4xdJ4tLVha/mTrVRTXy3QXKpKVEivlVDHYVxv17Bv6YyTfJxKX80888G6Ftgzy7
r0e/OzzGvCXUN+pqYLtFBR3186/FXcxSnFxf4J2C+6IufZ67dLHL7OH3+9/wod0G
UzBepeke8G53igvdcgqafWuXw66e/2IVXu+CFDI5xyYeLdofHRhQciWWF4JSQeZ0
Feyzym/Uxe6IiN0obPwn
=+Pqp
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Source: pdfcube
Source-Version: 0.0.4-2
We believe that the bug you reported is fixed in the latest version of
pdfcube, which is due to be installed in the Debian FTP archive:
pdfcube-dbg_0.0.4-2_amd64.deb
to main/p/pdfcube/pdfcube-dbg_0.0.4-2_amd64.deb
pdfcube_0.0.4-2.debian.tar.gz
to main/p/pdfcube/pdfcube_0.0.4-2.debian.tar.gz
pdfcube_0.0.4-2.dsc
to main/p/pdfcube/pdfcube_0.0.4-2.dsc
pdfcube_0.0.4-2_amd64.deb
to main/p/pdfcube/pdfcube_0.0.4-2_amd64.deb
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.
Andreas Moog <[email protected]> (supplier of updated pdfcube 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: Mon, 05 Mar 2012 21:04:59 +0100
Source: pdfcube
Binary: pdfcube pdfcube-dbg
Architecture: source amd64
Version: 0.0.4-2
Distribution: unstable
Urgency: low
Maintainer: Andreas Moog <[email protected]>
Changed-By: Andreas Moog <[email protected]>
Description:
pdfcube - PDF document viewer with 3D effects
pdfcube-dbg - PDF document viewer with 3D effects - debug symbols
Closes: 662235 662240
Changes:
pdfcube (0.0.4-2) unstable; urgency=low
.
* debian/source/format: Use 3.0 (quilt) source format
* debian/rules: Use DEB_LDFLAGS_MAINT_APPEND instead of LDFLAGS to ensure
that all hardening flags are passed correctly. (Closes: #662235)
Thanks Simon Ruderich <simon AT ruderich.org>
* debian/patches/array_bounds.patch: The top_color array is defined as
containing 4 elements, yet the fifth element was accessed.
(Closes: #662240)
Thanks Simon Ruderich <simon AT ruderich.org>
* debian/control, d/rules, d/pdfcube.install, d/pdfcube.manpages:
- add pdfcube-dbg package
Checksums-Sha1:
e47e85085bfcb06d322544e220e1b73a9467dc06 1987 pdfcube_0.0.4-2.dsc
c3223eff5d42413e48002cb1b434637cb2a3c5f2 3027 pdfcube_0.0.4-2.debian.tar.gz
122f3297931fd496ab930479190aefaf079bf7e0 40104 pdfcube_0.0.4-2_amd64.deb
b6f702a4fdb86ed0219d827ff1a59767e1df4de5 163362 pdfcube-dbg_0.0.4-2_amd64.deb
Checksums-Sha256:
df21f1fd6d8196fee95c4afd333de3be85e265795819f5e3fc3a0b9ad7791c87 1987
pdfcube_0.0.4-2.dsc
241eef29faa3b6a8c52d2f61876530abb11974f41e0ae56771eb3a20dab41246 3027
pdfcube_0.0.4-2.debian.tar.gz
5b37ccc8360ebfe3c6243ed7c4de49cd7ce175730abeaf874b40dc52f38633e4 40104
pdfcube_0.0.4-2_amd64.deb
5063a93c059d9f3f7aa001b7271794827e3cecd07bcb06b28148eb0d92259a21 163362
pdfcube-dbg_0.0.4-2_amd64.deb
Files:
1cb9f61ad6b09e8f9abb2efac325aecc 1987 text optional pdfcube_0.0.4-2.dsc
8e68791ae77c5c5b245730902285d5e6 3027 text optional
pdfcube_0.0.4-2.debian.tar.gz
08bacb053464ba3d2cb482aa3439d6e4 40104 text optional pdfcube_0.0.4-2_amd64.deb
a5e22845d6666e8f0822f362fbc45d00 163362 debug extra
pdfcube-dbg_0.0.4-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJPrhE5AAoJEDNV9NY7WCHMBp4P/2j41qNoJk7bdkybyM7XjZdP
ukV2h7CtdGqu2L0sBrFfWzO3tYJOsp+JUmbn7YnMRGvSPOHQkdPYI6qAdWk6+U/n
YBZ7QMgWzk9i+muLESuRLsMfZM1AMjG2sjTZNCk5OjTvfGPYxkLdigWrCIQ6dCiN
PmyDuKSwrTm3DArmgUyMPBUfm4gBo4p+60Y4bO3LmRQMZ0Gy8s7TYdE6K3VNuwto
BkmZeND9kTSQ+3aHEikb9LetWYQy8+xGJL9fRV32cSfCyeutCDAQnv4/cvM0bmbU
r+RPyPRrctzR/vAi81rVwkhaohmUgNHgLtpvf3G6MFY6j4RGf/bCDDmetq2b0NNc
6qUD/DnSwKk7vg15if7yATcizuD/r8xtprbgTIUre6eXPLC4Q/1KKj03kjc6JD2G
r6UDTHQ4Mtdo12DD3HQWYqJV7aLvGvXXH62Uft3IaMfh5NL3U6TYTzfjqGHPFoZE
dBCqM2ElA1QUiztWgkfqNCo5ni5y3xKlKaY/nff5C+sM3DWbXAO63p8WgWKhRwK1
HZM5P7eWg2G7MnVOM53EvBlfZxRzoSZ4QRibJ06mCGljdc/zY8y78nlKMXpwZ3SA
NxNOMNXm4mA+sLKFjByTyuVXJCpnQEhMcaH4jtWivQzv1EtLKiQLUtQRlirTfLfM
gMI4oJWd10cIFrBGRWIX
=1Ia2
-----END PGP SIGNATURE-----
--- End Message ---