Debian Patches

Status for tcpxtract/1.0.1-19

Patch Description Author Forwarded Bugs Origin Last update
90_initialise_srch_machine_pointer.patch initialize srch_machine pointer to null The srch_machine initialization checks that pointer is null before setting it.
Ensure that initialization is performed by setting the pointer to null.
Vladimir Petko <vladimir.petko@canonical.com> no debian 2024-04-22
100_terminate_lexem.patch resolve ambiguity in the configuration grammar Explicitly match '(', ')' and ',' tokens instead of returning any
character, so that unexpected characters are reported as syntax errors
instead of being treated as valid tokens.
Adapted from the original patch: the %error-verbose directive was
dropped because the parser is generated with byacc, which does not
support it.
Vladimir Petko <vladimir.petko@canonical.com> no debian 2026-08-30
110_use-captured-packet-length.patch use the captured packet length to bound payload reads The payload size was computed from header->len, the original wire
length of the packet, while only header->caplen bytes are actually
present in the capture buffer. With a malformed capture where the
wire length is smaller than the link/IP/TCP header sizes, the
subtraction underflows on size_t (the following "payload_size <= 0"
check can never be true for an unsigned type) and search() then
reads far beyond the capture buffer, crashing with a heap buffer
overflow on crafted capture files. Use the captured length and bail
out when there is not enough data captured.
Thiago Andrade Marques <andrade@debian.org> no debian debian 2026-08-30
120_use-extract-prototype.patch use the real extract() prototype The extract function was declared with an empty parameter list,
a K&R style construct that was removed in C23. GCC 15 defaults
to a newer C standard where such declarations mean "no arguments",
turning the five argument calls into a build failure. Use a
complete prototype, with a forward declaration to avoid the
mutually recursive header situation mentioned in the comment.
Thiago Andrade Marques <andrade@debian.org> no debian debian 2026-08-30
130_packet-structures-packed.patch mark the packet overlay structures as packed The ethernet, IP and TCP header structures overlay unaligned packet
data, so accessing their members is undefined behaviour that happens
to work on architectures with tolerant unaligned accesses. Mark the
structures as packed so the compiler emits the correct accesses on
every architecture.
Thiago Andrade Marques <andrade@debian.org> no debian 2026-08-30
10_fix-manpage.patch remove version and upstream specific notes from manual page.=================================================================== Nico Golde <nion@debian.org> no 2009-10-01
20_tcpxtract-fix-segfault.patch fix segfaults due to uninitialized variables.=================================================================== Chow Loong Jin <hyperair@ubuntu.com> invalid upstream 2010-10-11
30_fix-excessive-sync.patch remove excessive sync calls causing lots of disk activity and replace by fsync on closing the file.
===================================================================
Nico Golde <nion@debian.org> invalid upstream 2011-04-19
40_fix-png-header-bytes.patch fix incorrect magic byte values for png headers.=================================================================== Nico Golde <nion@debian.org> no upstream 2011-11-19
50_fix-spelling-binary.patch fix a spelling error in final binary. Joao Eriberto Mota Filho <eriberto@debian.org> yes 2016-11-20
60_libfl.patch AC_CHECK_LIB(fl, main) does not work with shared libfl Use LEXLIB set by the already called AC_PROG_LEX. Adrian Bunk <bunk@debian.org> yes
70_fix-implicit-declarations.patch Add missing includes and function prototypes This fixes the FTBFS on armhf Zixing Liu <zixing.liu@canonical.com> no debian 2024-04-15
80_gcc14.patch Fix FTBFS with gcc 14 Adrian Bunk <bunk@debian.org> no debian

All known versions for source package 'tcpxtract'

Links