Debian Patches

Status for xrootd/5.7.1-3

Patch Description Author Forwarded Bugs Origin Last update
0001-Server-Correct-spelling-permision-permission.patch [PATCH] =?UTF-8?q?[Server]=20Correct=20spelling=20(permision=20?= =?UTF-8?q?=E2=86=92=20permission)?= Mattias Ellert <mattias.ellert@physics.uu.se> no 2024-09-05
0001-Protect-against-array-index-out-of-bounds.patch [PATCH 1/2] Protect against array index out of bounds
Seen on hppa Linux where EBADE is 160.

In function ‘int {anonymous}::initErrTable()’,
inlined from ‘void __static_initialization_and_destruction_0()’ at /<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc:92:28,
inlined from ‘(static initializers for /<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc)’ at /<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc:128:1:
/<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc:70:26: warning: array subscript 160 is above array bounds of ‘const char* [144]’ [-Warray-bounds=]
70 | if (Errno2String[EBADE]) {
| ~~~~~~~~~~~~~~~~~~^
/<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc: In function ‘(static initializers for /<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc)’:
/<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc:48:28: note: while referencing ‘{anonymous}::Errno2String’
48 | const char* Errno2String[errSlots] = {0};
| ^~~~~~~~~~~~
In function ‘int {anonymous}::initErrTable()’,
inlined from ‘void __static_initialization_and_destruction_0()’ at /<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc:92:28,
inlined from ‘(static initializers for /<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc)’ at /<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc:128:1:
/<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc:74:22: warning: array subscript 160 is above array bounds of ‘const char* [144]’ [-Warray-bounds=]
74 | Errno2String[EBADE] = "authentication failed - possible invalid exchange";
| ~~~~~~~~~~~~~~~~~~^
/<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc: In function ‘(static initializers for /<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc)’:
/<<PKGBUILDDIR>>/src/XrdSys/XrdSysE2T.cc:48:28: note: while referencing ‘{anonymous}::Errno2String’
48 | const char* Errno2String[errSlots] = {0};
| ^~~~~~~~~~~~
Mattias Ellert <mattias.ellert@physics.uu.se> no 2024-09-07
0002-Add-error-string-to-e2sMap-if-EBADE-is-out-of-range.patch [PATCH 2/2] Add error string to e2sMap if EBADE is out of range Mattias Ellert <mattias.ellert@physics.uu.se> no 2024-09-10
0001-Change-type-in-XrdSutCacheArg_t-to-long-long.patch [PATCH] Change type in XrdSutCacheArg_t to long long
The XrdSutCacheArg_t type is used to pass arguments of different
types. The type used must be wide enough to fit the widest of the
types passed. One of the types passed is time_t, which can be 64 bits
wide also on 32-bit systems. So a long, which is 32 bits wide on a
32-bit system is not sufficient.

This commit changes the type to long long.
Mattias Ellert <mattias.ellert@physics.uu.se> no 2024-09-09
0001-Reproducible-doxygen-output.patch [PATCH] Reproducible doxygen output.
The files generated by doxygen whose file names contain the string
unnamedN where N is a number are not generated using predictable
names.

This happens when running doxygen using multiple threads.

Set NUM_PROC_THREADS=1 to work around this issue.
Mattias Ellert <mattias.ellert@physics.uu.se> no 2024-09-13
0001-Increase-client-timeouts-for-XRootD-server-tests.patch [PATCH] Increase client timeouts for XRootD server tests
The XRootD server tests currently uses very short settings for the
client timeouts:

- XRD_REQUESTTIMEOUT: 2
- XRD_STREAMTIMEOUT: 2
- XRD_TIMEOUTRESOLUTION: 1

This is a major reduction from the default values:

- XRD_REQUESTTIMEOUT: 1800
- XRD_STREAMTIMEOUT: 60
- XRD_TIMEOUTRESOLUTION: 15

According to the comment in the test script, this is done in order to
"catch errors quickly and prevent the test suite from getting stuck
waiting for timeouts while running".

However, the very short timeouts make some tests fail with timeout
errors when run on small or slow systems.

This commit increases the timeout values to avoid errors:

- XRD_REQUESTTIMEOUT: 180
- XRD_STREAMTIMEOUT: 30
- XRD_TIMEOUTRESOLUTION: 10
Mattias Ellert <mattias.ellert@physics.uu.se> no 2024-09-17

All known versions for source package 'xrootd'

Links