Debian Patches

Status for atf/0.22-3

Patch Description Author Forwarded Bugs Origin Last update
0001-atf_check-fix-std-length_error.patch atf_check: fix std::length_error thrown from temp_file
The previous logic used 2 separate calls to `atf::fs::path::str()` when
constructing a `std::vector<char>` to pass to `mkstemp(..)`. This in
turn caused grief with how data copying is done in atf-c(3), etc, as the
prior code computed the length of the path of an internal buffer in
`atf_dynstr` structs.

Moreover, the code was manually appending a nul char, which was
unnecessary when making the valid assumption that `std::string` is a
nul-terminated string.

The new code convert the path to an `std::string` once, includes the
existing nul char in the buffer, then passes it to mkstemp(3) instead.
The code works properly now.

Closes: #76
Enji Cooper <ngie@FreeBSD.org> no 2024-12-07
0002-Support-GNU-Hurd.patch Support GNU Hurd
This header is missing on Hurd but doesn’t seem to be used anyway.
Andrej Shadura <andrewsh@debian.org> no 2020-11-18

All known versions for source package 'atf'

Links