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

Artur Rona ari-tczew at ubuntu.com
Fri Nov 5 15:44:39 UTC 2010


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

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

-- 
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: In Progress

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