[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#749606: marked as done (ax25-apps: Conflicting parameter types to cause undefined behaviour)



Your message dated Mon, 08 Sep 2014 21:19:10 +0000
with message-id <E1XR6L8-0008Rh-RW@franck.debian.org>
and subject line Bug#749606: fixed in ax25-apps 0.0.8-rc2+cvs20130510-4
has caused the Debian Bug report #749606,
regarding ax25-apps: Conflicting parameter types to cause undefined behaviour
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 owner@bugs.debian.org
immediately.)


-- 
749606: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749606
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ax25-apps
Version: 0.0.8-rc2+cvs20130510-3
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.

[...]
libtool: link: gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fPIE -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o call call.o menu.o crc.o yapp.o dostime.o  -lncurses /usr/lib/libax25.so

error: conflicting function declarations "unix2yapp"
old definition in module yapp file call.h line 21
void (signed int, char *)
new definition in module dostime file dostime.c line 87
void (signed long int unix_date, char *buffer)
Makefile:411: recipe for target 'call' failed
make[3]: *** [call] Error 64
make[3]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-ax25-apps/ax25-apps-0.0.8-rc2+cvs20130510/call'
Makefile:391: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1

The wrong type in call.h breaks the following call of unix2yapp in two ways:

http://sources.debian.net/src/ax25-apps/0.0.8-rc2+cvs20130510-3/call/yapp.c?hl=208#L208

First, sb.st_mtime will be converted to int, possibly losing information as the
value max exceed the maximum value of int. The implementation, then, will face
undefined values for several bytes if sizeof(long)>sizeof(int). On big endian
systems, the call will even break when values fit the maximum value of int.

Best,
Michael

Attachment: pgpsO7ikTAqWB.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ax25-apps
Source-Version: 0.0.8-rc2+cvs20130510-4

We believe that the bug you reported is fixed in the latest version of
ax25-apps, which is due to be installed in the Debian FTP archive.

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 749606@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Tuckley <colint@debian.org> (supplier of updated ax25-apps 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 08 Sep 2014 21:08:51 +0100
Source: ax25-apps
Binary: ax25-apps
Architecture: source amd64
Version: 0.0.8-rc2+cvs20130510-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Colin Tuckley <colint@debian.org>
Description:
 ax25-apps  - AX.25 ham radio applications
Closes: 749606
Changes:
 ax25-apps (0.0.8-rc2+cvs20130510-4) unstable; urgency=medium
 .
   * Bump Standards Version.
   * Fix section for ax25ipd manpage.
   * Fix def of unix2yapp() (Closes: #749606)
   * Minor spelling fixes.
Checksums-Sha1:
 5335c965cbcc27be59334f61a9170b7331d13554 2044 ax25-apps_0.0.8-rc2+cvs20130510-4.dsc
 38db54bfdcadec5e95ea5b90ea7c9f5619ce4e15 19350 ax25-apps_0.0.8-rc2+cvs20130510-4.diff.gz
 8c54e14719768f420123f5441e068869a5f5f7ba 108528 ax25-apps_0.0.8-rc2+cvs20130510-4_amd64.deb
Checksums-Sha256:
 ef6c9a577c495b7cd6b8cb1cb9436aa29807015f4babe51770b903514aaa3622 2044 ax25-apps_0.0.8-rc2+cvs20130510-4.dsc
 dac885e1a1736a81213f9a8e52c53571d6b920f1e5cdf34225ab63fcde3a2c5a 19350 ax25-apps_0.0.8-rc2+cvs20130510-4.diff.gz
 9c9abf22c8b98dc9f9331e4565ea7a23081ea4bd7c37ee35ce17470fdc2cff0b 108528 ax25-apps_0.0.8-rc2+cvs20130510-4_amd64.deb
Files:
 e4dc0981cf4e9775fbb7ab5f1b3474fe 108528 hamradio extra ax25-apps_0.0.8-rc2+cvs20130510-4_amd64.deb
 44a0354ed052d32b552ce225b6a01f44 2044 hamradio extra ax25-apps_0.0.8-rc2+cvs20130510-4.dsc
 ec4a6dcff7bd04335eb5b01e0fcccfc0 19350 hamradio extra ax25-apps_0.0.8-rc2+cvs20130510-4.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUDg5+AAoJEPoMQQc4ydkD+nsP/Rw6svRy+GhcqtbKD/iD90Cx
vGcbnCIvFo+EINkThE3RG20KJerpdoZpAEhJDmko+Mx66NqYKtNzLY+Zhecz1sfd
v1f5svydIs02wwA1gX1TA19NPGOMNiu3XO0OjEEsWQZdp71Ay+8H/WW0CXQx57gi
YzhMl+8VJLPtVerxRYrgA/8oo+YKQXC+dFfBSklzBXvWcl1YK7i3/zPEmeRhst9Q
khh4477rXluhdCS2uH4zY/XsPPwly33cmCjrEVgcaSrKgYbqGnOillGmrQJLo52x
vxDr4RqoQfSU32APTInFR8DmlxknmzdNDwXdXtAJskcWQIldHreuBzLFzZ0/K1cu
ERFtFBII+Szk1mJnwNhA/NcvIGHMbdPqwJgGoZvD8Zb6GKvdFFQ59yx1D0OGotYn
wupyy5jnOXVH1H63gS6m9FOiqikaCkkfsVqgACO87Gwzr26RSzP3K74kW295WV8i
VHvcvJQko8UabogFJKtKhm875nGDpHHjGgsDD0o3a+zFP3Lty8s/QQEmxiX00q+k
xbrwWtWGv6GmexVCKRtuFBXTxcByPIYxnmiIKXSU2J3iXFHjiJOvNKlFB0YyTCPT
TH462bhKKeZRdRA4zyO1ym8V+FbdknKQyieFzBeAsX/C5KXhWIallyW9Ic67DUMC
DNAn0SKILbKAYME+aoOw
=bLv1
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: