- Package:
- src:tcpxtract
- Source:
- src:tcpxtract
- Submitter:
- 张娜
- Date:
- 2026-09-04 03:37:03 UTC
- Severity:
- normal
- Tags:
Hi all,
Compilation errors occur after upgrading to GCC 15:
extract.c:50:6: error: conflicting types for ‘extract’; have ‘void(extract_list_t **, srch_results_t *, slist_t *, const uint8_t *, size_t)’ {aka ‘void(struct extract_list **, struct srch_results *, struct slist_node *, const unsigned char *, long unsigned int)’}
50 | void extract(extract_list_t **elist, srch_results_t *results, slist_t *session, const uint8_t *data, size_t size)
| ^~~~~~~
In file included from extract.c:33:
extract.h:47:13: note: previous declaration of ‘extract’ with type ‘void(void)’
47 | extern void extract();
| ^~~~~~~
tcpxtract.c: In function ‘got_packet’:
tcpxtract.c:220:5: error: too many arguments to function ‘extract’; expected 0, have 5
220 | extract(&session->extract_list, results, session, payload, payload_size);
| ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
The full build log:
https://buildd.debian.org/status/fetch.php?pkg=tcpxtract&arch=loong64&ver=1.0.1-18.1&stamp=1767180005&raw=0
We can build succeeds with gnu17.
We believe that the bug you reported is fixed in the latest version of
tcpxtract, 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 1138604@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thiago Andrade Marques <andrade@debian.org> (supplier of updated tcpxtract 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)
Format: 1.8
Date: Thu, 03 Sep 2026 23:20:21 -0300
Source: tcpxtract
Architecture: source
Version: 1.0.1-19
Distribution: unstable
Urgency: medium
Maintainer: Thiago Andrade Marques <andrade@debian.org>
Changed-By: Thiago Andrade Marques <andrade@debian.org>
Closes: 945092 1114402 1138604
Changes:
tcpxtract (1.0.1-19) unstable; urgency=medium
.
* Acknowledge NMU 1.0.1-18.1. Thanks to Adrian Bunk.
* debian/control:
- Bumped debhelper compat level to 14. Added dh-sequence-single-binary
to the Build-Depends field to keep the single binary package
behaviour.
- Bumped Standards-Version to 4.7.4.
- Removed the redundant Priority and Rules-Requires-Root fields and the
dependency substvars, which debhelper 14 handles automatically.
* debian/copyright: updated packaging copyright years.
* debian/patches/100_terminate_lexem.patch: added to resolve the ambiguity
in the configuration grammar. Thanks to Vladimir Petko
<vladimir.petko@canonical.com>.
* debian/patches/110_use-captured-packet-length.patch: added to compute the
payload size from the captured packet length, fixing a crash with a heap
buffer overflow on crafted capture files. (Closes: #945092)
* debian/patches/120_use-extract-prototype.patch: added to use the real
extract() prototype, fixing the FTBFS with GCC 15. (Closes: #1114402,
#1138604)
* debian/patches/130_packet-structures-packed.patch: added to mark the
packet overlay structures as packed, removing undefined behaviour on
architectures with strict alignment.
* debian/patches/90_initialise_srch_machine_pointer.patch: added to
initialise the srch_machine pointer. Thanks to Vladimir Petko
<vladimir.petko@canonical.com>.
* debian/patches: added the Origin and Author fields to the DEP-3 headers
of the new patches.
* debian/source/lintian-overrides: added to override the OpenPGP signature
check. Upstream does not sign the releases.
* debian/tests/control: replaced the smoke test with a functional test
suite.
* debian/tests/crash.pcap: added the malformed capture file from #945092
as a regression test.
* debian/tests/extraction: added to check the extracted files and the
malformed capture processing.
* debian/tests/extraction: use the system configuration file, so the
test does not depend on the quilt state of the built tree.
* debian/watch: updated to the new format version 5, using the SourceForge
release API, restoring the upstream version monitoring.
Checksums-Sha1:
33cfb06851da8576bf4ba58e41fd0ba43b944765 1927 tcpxtract_1.0.1-19.dsc
3ac130aa92e2412ab51ea6eefb8f079721eab49b 16944 tcpxtract_1.0.1-19.debian.tar.xz
969fefc7122580067df6d79c94d3122106788b15 6045 tcpxtract_1.0.1-19_source.buildinfo
Checksums-Sha256:
0c049b6fcd232d2ccb5bcc734197e4ed130f86780c4d403b47312e61c4b02dc3 1927 tcpxtract_1.0.1-19.dsc
8275f4be83283150b9f0218e1d34b2d888c09862da3f61417592764991595dfd 16944 tcpxtract_1.0.1-19.debian.tar.xz
37414ac4f3dc34c7ad89261c408e024268fdafcd0dba7988c169e260105e162c 6045 tcpxtract_1.0.1-19_source.buildinfo
Files:
54fd7aed3f21a83c198d77d341660653 1927 net optional tcpxtract_1.0.1-19.dsc
5bf7641289e87d954048bbf85042a723 16944 net optional tcpxtract_1.0.1-19.debian.tar.xz
ee98c6e5a5f8509e03bc67545b971d0b 6045 net optional tcpxtract_1.0.1-19_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE0QFl3Wbn1VHx/3vxIDym/u8GotMFAmqaNwYACgkQIDym/u8G
otOSXQ//acXwbDRdRmHTzsLYv6zueSN+ZoItbptudi0WFmmYAwgrjR0pIn+YQdgE
vD3S6zdrT/mdplnwvGECe193S6yMACu9UuU0tzWYLItRYZ0LP8f0fu2nda+hfZsV
3bK03RInhMNpsmSEXLP62Zdxa1wKuD5G1HFn03nGwAmCVTqXWOg8OUBWwEd8+nNf
YS35b4FGjtXkjipPuzKIymhOCTVWr/yfIr+6a5ok5U07JOU23GNW6xdqb3jK9KJh
yEmdjJa3IU+r1sMmabAYIxPDYSgLG+mD9U1qEcySo+tycXKdIlbjGGAimXfxwtI1
lS/PPOw+9LbLPNHHZswsABqgeuCDRaFQvx1BDypv0FHh8lTzmqfw3FW6zLDDuLdC
BbwcxJ5JvMfTjWmca/Ea3zZ6YuJQ6w2SQ8rqNmQ9+r/7JcIfYgdnUom0gvywVAwD
dF07DsrpT6S6ykSqENywFuWv7CZ3Zp00yx2EYbmPFDj9lSMoNLHVemjWSQVLgcCg
hjB9nqyn8QyQQxThTleOAB4JwwipBoZ2irZrDW7pST5RUDhzEJfGgJkqB/CRGLFf
zYTvDMDBor7AJ5YBV2hfSDUyExfnKiZJhZrrFF7enKPxbZwcc+/g6Uz0zNFPkejp
4DYWdPY5lioVy7FQ20TOxIzTT6POo3wggWjHstqG3mWtjQtNWsI=
=TFwQ
-----END PGP SIGNATURE-----