Your message dated Fri, 10 Feb 2012 21:23:06 +0000
with message-id <[email protected]>
and subject line Bug#445842: fixed in rmagic 2.21-4.1
has caused the Debian Bug report #445842,
regarding rmagic: fails with current libgd
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.)
--
445842: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445842
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rmagic
Version: 2.21-4
Severity: normal
Tags: patch
Hi,
rmagic fails with the current libgd. I don't have the exact error
message here anymore, but it was something like:
* libgd: a memory allocation (silently) failed because there was a
multiplicator 0
* in the perl module: new GD::Image(0,0) failed
* using the *not* created object's can() method causes an crash
A patch is attached. Instead of a 0x0 image create a 1x1 image to get
the supported image formats etc.
Andreas
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (130,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
# modern libgd produces an error when allocating zero bytes (when creating a
0x0 image),
# causing the object not to exist and rmagic to fail afterwards
Index: rmagic-2.21/wadg/rm/Settings.pm
===================================================================
--- rmagic-2.21.orig/wadg/rm/Settings.pm 2007-10-06 12:54:34.000000000
+0200
+++ rmagic-2.21/wadg/rm/Settings.pm 2007-10-06 12:56:08.000000000 +0200
@@ -907,7 +907,7 @@
# Check GD for support of desired output format. If none
# given or not capable, then set output format accordingly.
#
- my $g = new GD::Image(0,0);
+ my $g = new GD::Image(1,1);
if( defined $self->val( 'graphs', 'Format' ) ) {
if( $self->val( 'graphs', 'Format' ) =~ /jpe?g/i ) {
--- End Message ---
--- Begin Message ---
Source: rmagic
Source-Version: 2.21-4.1
We believe that the bug you reported is fixed in the latest version of
rmagic, which is due to be installed in the Debian FTP archive:
rmagic_2.21-4.1.diff.gz
to main/r/rmagic/rmagic_2.21-4.1.diff.gz
rmagic_2.21-4.1.dsc
to main/r/rmagic/rmagic_2.21-4.1.dsc
rmagic_2.21-4.1_all.deb
to main/r/rmagic/rmagic_2.21-4.1_all.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.
gregor herrmann <[email protected]> (supplier of updated rmagic 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: Wed, 08 Feb 2012 21:47:42 +0100
Source: rmagic
Binary: rmagic
Architecture: source all
Version: 2.21-4.1
Distribution: unstable
Urgency: low
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Description:
rmagic - Report Magic for Analog
Closes: 445842
Changes:
rmagic (2.21-4.1) unstable; urgency=low
.
* Non-maintainer upload.
* Fix "fails with current libgd": add patch 1001_gd_zero_malloc.patch from
Andreas Beckmann. (Closes: #445842, LP: #315280)
Checksums-Sha1:
bf658f6c8355f2659b7128a97e21994db437cfaf 1681 rmagic_2.21-4.1.dsc
4e9e6b268f5ed5c69ef79d0175e6bcc8dd6906c9 37966 rmagic_2.21-4.1.diff.gz
e9e4dd3aaaba4b44904ea51b77530e4b90a4e374 499458 rmagic_2.21-4.1_all.deb
Checksums-Sha256:
21b716757efcf2daa9b48f50a6e9d3df7b87bdf1de3455368189dc371091a969 1681
rmagic_2.21-4.1.dsc
f6a68f443060cd9410529aafed61249d31ff08666bb7767e778c0a6a2a4fbd72 37966
rmagic_2.21-4.1.diff.gz
c9c1d811caf73e44686694643e26d2a5b82053604100ba9f82bf8671582ea286 499458
rmagic_2.21-4.1_all.deb
Files:
53215fd97021c5367ba449e99d99a031 1681 web extra rmagic_2.21-4.1.dsc
00bb6a52d981f634a79dd4279b3b427a 37966 web extra rmagic_2.21-4.1.diff.gz
ad806fc44548037fb425ea97fbfa82aa 499458 web extra rmagic_2.21-4.1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJPMuAFAAoJELs6aAGGSaoGvgcQAMXvHb1RxCRhVPAOzU0Fgi43
6vW1YByM88SCUVCRKJiWJQkKYms/B0W0Ej8gUjU5cQTweX9QmtIlWJRkQtNRVDWG
4LdWvMD+svG1gqPa3vAPNeDj/vaeOPwLhSh6E+De6d78qtF8hq9eoESwNYIZr+eh
Opr/KJmcoMBj7saD0inXNnM8Q1pxGrc6W56V54S3hTFclR+HnukKoT9001WB28ww
flUP7VIn6ktGNgZxiQWA5/cj2qWmDlYoZV5D0D9mIzypXQtLzyvRdCHIpbORhZan
DxIlb9EUQlZtUmrP+rS/GXN4RmxSdTJ3Z7cd27pZlNHW/I5xSFxPWI0VyFbUndfb
UB0OfcP+wXQ2OZDvo5Wegq2N+pmUBysvKMYgp4S54OxdgO8DAjI5dH0BOvAkrGck
/COuZVGb/hMN8OEAGSLmTD9z32Z5s3RKHfXTSmJq74EV+duOkhIOjyCUgNW6XhV9
N54u7+ig5vFqHQwz3cO2Aq6Xq6KJkq895sO74I2hd+9uNayh2G/SzX7fVj8O0BJK
oErsnnZ0kcKj5/VKXVwMY/CUBpm1fVJXxNORFm+CTyAIW9rO/BD/o1yAJTYIQnWO
65whWKK2eyPQGihocj76U3noLxLwkSYC5NxznSaza9RMJnq9XKpT0gEWs3S2pUu0
IpwB5FZkAaV6UY6+Lzd0
=uC+5
-----END PGP SIGNATURE-----
--- End Message ---