Debian Patches

Status for xrootd/5.7.2-4

Patch Description Author Forwarded Bugs Origin Last update
0001-Use-correct-format-for-size_t.patch [PATCH 1/3] Use correct format for size_t
The format for some size_t variables were recently changed from %d to
%llu. This fixed a problem on 64 bit architectures, since there size_t
is 64 bits wide and %d is the format for a 32 bit type and %llu is the
format for a 64 bit type. However, this change introduced a regression
on 32 bit architectures where size_t is 32 bits wide.

This change caused some of the tests to fail with a segmentation fault
on the Debian armhf architecture:

The following tests FAILED:
108 - XRootD::noauth::test (Failed)
111 - XRootD::host::test (Failed)
114 - XRootD::unix::test (Failed)
117 - XRootD::sss::test (Failed)
120 - XRootD::http::test (Failed)

This commit adds a type cast so that the new format works for all
architectures.
Mattias Ellert <mattias.ellert@physics.uu.se> no 2024-12-01
0002-Mark-the-client-library-logging-routines-with-__attr.patch [PATCH 2/3] Mark the client library logging routines with __attribute__((format)) so that the compiler can do type checking for format
strings
Mattias Ellert <mattias.ellert@physics.uu.se> no 2024-12-02
0003-Fix-format-errors-found-by-the-compiler.patch [PATCH 3/3] Fix format errors found by the compiler Mattias Ellert <mattias.ellert@physics.uu.se> no 2024-12-02

All known versions for source package 'xrootd'

Links