Bug#703073: Wrong prototype of in avctest.c

Michael Tautschnig mt at debian.org
Thu Mar 14 23:06:02 UTC 2013


Package: avce00
Version: 2.0.0-2
Usertags: goto-cc

Building and subsequently re-checking types after linking using our research
compiler infrastructure showed that the following declarations conflict:

avctest.c declares

int _AVCBinReadHeader(AVCRawBinFile *psFile, AVCBinHeader *psHdr);

but the actual definition (in avc_bin.c) is

int _AVCBinReadHeader(AVCRawBinFile *psFile, AVCBinHeader *psHeader,
                      AVCCoverType eCoverType)

All calls to _AVCBinReadHeader in avctest.c will result in stack underflow, with
undefined consequences. As this appears to be test code only, this likely
doesn't affect production environments. It should nevertheless be fixed.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20130314/a290b4bc/attachment.pgp>


More information about the Pkg-grass-devel mailing list