Your message dated Fri, 05 Nov 2010 18:17:06 +0000
with message-id <[email protected]>
and subject line Bug#602515: fixed in altermime 0.3.10-5
has caused the Debian Bug report #602515,
regarding FTBFS: incorrect snprintf size in MIMEH_parse_contentlocation
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.)
--
602515: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602515
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: altermime
Version: 0.3.10-4
Tags: patch
With -Wall turned on:
cc1: warnings being treated as errors
In file included from /usr/include/stdio.h:930:0,
from MIME_headers.c:21:
In function 'snprintf',
inlined from 'MIMEH_parse_contentlocation' at MIME_headers.c:2246:12:
/usr/include/bits/stdio2.h:65:3: error: call to __builtin___snprintf_chk will
always overflow destination buffer
make[1]: *** [MIME_headers.o] Error 1
This error occurs because we are passing the wrong argument to
snprintf.
The below patch fixes the issue.
---
diff -Nru altermime-0.3.10/debian/patches/15_fix_snprintf.diff
altermime-0.3.10/debian/patches/15_fix_snprintf.diff
--- altermime-0.3.10/debian/patches/15_fix_snprintf.diff 1969-12-31
17:00:00.000000000 -0700
+++ altermime-0.3.10/debian/patches/15_fix_snprintf.diff 2010-11-04
22:43:08.000000000 -0600
@@ -0,0 +1,13 @@
+Index: altermime-0.3.10/MIME_headers.c
+===================================================================
+--- altermime-0.3.10.orig/MIME_headers.c 2010-11-04 22:41:58.891508943
-0600
++++ altermime-0.3.10/MIME_headers.c 2010-11-04 22:42:58.881921686 -0600
+@@ -2243,7 +2243,7 @@
+ {
+ if (MIMEH_DNORMAL)
LOGGER_log("%s:%d:MIME_parse_contentlocation:DEBUG: filename = %s\n", FL, p);
+ snprintf(hinfo->name, sizeof(hinfo->name),"%s",p);
+- snprintf(hinfo->filename, sizeof(hinfo->name),"%s",p);
++ snprintf(hinfo->filename,
sizeof(hinfo->filename),"%s",p);
+ FNFILTER_filter(hinfo->filename,
_MIMEH_FILENAMELEN_MAX);
+ SS_push(&(hinfo->ss_filenames), hinfo->filename,
strlen(hinfo->filename));
+
diff -Nru altermime-0.3.10/debian/patches/series
altermime-0.3.10/debian/patches/series
--- altermime-0.3.10/debian/patches/series 2010-07-26 10:05:51.000000000
-0600
+++ altermime-0.3.10/debian/patches/series 2010-11-04 22:41:50.000000000
-0600
@@ -1,3 +1,4 @@
01_makefile_destdir.diff
05_makefile_nostrip.diff
10_fix_printk_warnings.diff
+15_fix_snprintf.diff
--- End Message ---
--- Begin Message ---
Source: altermime
Source-Version: 0.3.10-5
We believe that the bug you reported is fixed in the latest version of
altermime, which is due to be installed in the Debian FTP archive:
altermime_0.3.10-5.debian.tar.gz
to main/a/altermime/altermime_0.3.10-5.debian.tar.gz
altermime_0.3.10-5.dsc
to main/a/altermime/altermime_0.3.10-5.dsc
altermime_0.3.10-5_amd64.deb
to main/a/altermime/altermime_0.3.10-5_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.
Julien Valroff <[email protected]> (supplier of updated altermime 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: SHA1
Format: 1.8
Date: Fri, 05 Nov 2010 18:39:57 +0100
Source: altermime
Binary: altermime
Architecture: source amd64
Version: 0.3.10-5
Distribution: unstable
Urgency: low
Maintainer: Julien Valroff <[email protected]>
Changed-By: Julien Valroff <[email protected]>
Description:
altermime - utility used to alter mime-encoded mailpacks
Closes: 602515
Changes:
altermime (0.3.10-5) unstable; urgency=low
.
* Add patch to fix FTBS with -Wall turned on - thanks to Alex Chiang
* <[email protected]> (Closes: #602515)
Checksums-Sha1:
c5106dbc7aa2f1e5dc68ce25d039c8df38ea9b2d 1188 altermime_0.3.10-5.dsc
6af8be6179f25253bc56307c92e7d579c65b58b0 10786 altermime_0.3.10-5.debian.tar.gz
a12b3209a1a1d9f1ae85c45331032f83358020d4 61872 altermime_0.3.10-5_amd64.deb
Checksums-Sha256:
e68674c0b0b09c802ae30160006da219f1b0b5f138b15e390e35942223b4ed4d 1188
altermime_0.3.10-5.dsc
32bd5e02b5cd9322a239116d462bf33bc7021492c4bcbe14c92060c1e95caa1b 10786
altermime_0.3.10-5.debian.tar.gz
d9d88bfb5d7686d52d8dab0263daddcf43eaa835b8becb42e54574c69c33478e 61872
altermime_0.3.10-5_amd64.deb
Files:
d56819b216aa97ca325301cb14f65ec2 1188 mail optional altermime_0.3.10-5.dsc
304dc4d8deb40e3e53c03569c02fc726 10786 mail optional
altermime_0.3.10-5.debian.tar.gz
fd33cc345dd85c0afc1d24ee0680f4a3 61872 mail optional
altermime_0.3.10-5_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzUR3cACgkQIQvyq59x1ElXEgCeLJNh1SrYH8BEPn7mdCoYlUQK
d6UAoMkfP3hAsBU2MHeWf56AF+Dlrjsc
=ADIM
-----END PGP SIGNATURE-----
--- End Message ---