[Bug 671445] Re: FTBFS: incorrect snprintf size in MIMEH_parse_contentlocation

Artur Rona ari-tczew at ubuntu.com
Fri Nov 5 17:09:53 UTC 2010


Please use DEP3 tags in file 15_fix_snprintf.diff. Follow with
https://wiki.ubuntu.com/UbuntuDevelopment/PatchTaggingGuidelines

** Changed in: altermime (Ubuntu)
       Status: In Progress => Incomplete

** Changed in: altermime (Ubuntu)
     Assignee: Artur Rona (ari-tczew) => Alex Chiang (achiang)

-- 
FTBFS: incorrect snprintf size in MIMEH_parse_contentlocation
https://bugs.launchpad.net/bugs/671445
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “altermime” package in Ubuntu: Incomplete

Bug description:
Binary package hint: altermime

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.

Debian bug report is here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602515

Upstream has already been fixed. This is a bug in Debian/Ubuntu only.





More information about the Ubuntu-sponsors mailing list