Package: ifmail
Version: 2.14tx8.10-21
Usertags: goto-cc

[...]
During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.

[...]
cc -Wl,--as-needed -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Werror=format-security -fPIE -pie -Wl,-z,relro version.o ifmail.o 
rfcmsg.o message.o mkftnhdr.o ifdbm.o batchrd.o areas.o msgflags.o nlindex.o 
nodecheck.o msgidbm.o attach.o charconv.o charconv_jp.o charconv_hz.o 
charconv_utf.o ../iflib/utlib.a -o ifmail -lgdbm -lgdbm_compat -lresolv

error: conflicting function declarations "bsyname"
old definition in module pktname file pktname.c line 182
char * (struct _faddr *addr, char flavor)
new definition in module nodelock file nodelock.c line 21
char * (struct _faddr *)
Makefile:88: recipe for target 'ifmail' failed
make[2]: *** [ifmail] Error 64

As indeed the calls to bsyname only pass a single argument, stack underflow will
necessarily occur here:

http://sources.debian.net/src/ifmail/2.14tx8.10-21/iflib/pktname.c?hl=182#L182

Given the useless reads and writes of the parameter "flavor" this may remain
without observable consequences in most cases, unless the attempted stack access
actually causes an access to invalid memory.

Best,
Michael

Attachment: pgp5qCgpVUFGg.pgp
Description: PGP signature

Reply via email to