You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@subversion.apache.org by GitBox <gi...@apache.org> on 2026/01/16 00:08:01 UTC
[GH] (subversion/trunk): Workflow run "CMake" failed!
The GitHub Actions job "CMake" on subversion.git/trunk has failed.
Run started by GitHub user asf-gitbox-commits (triggered by asf-gitbox-commits).
Head commit for run:
488970e5bc3c6d580a9fc233e16c7ed1303dad48 / Branko Čibej <br...@apache.org>
Remove another unchecked narrowing cast, this time in the implementation
of the adler32 checksum. Make sure we consume all the data, no matter
how improbably large it may be.
* build/ac-macros/zlib.m4
(SVN_LIB_Z): Check if we're using a version of zlib that provides the
function adler32_z(), which uses size_t instead of unsigned int for
the length of the input data.
* build.conf
(adler32-test): Define a new unit test program.
* subversion/libsvn_subr/adler32.c: Include svn_private_config.h.
(svn__adler32_impl, svn__adler32_fn, svn__adler32_size_t,
SVN__ADLER32_SIZE_MAX): New type and macros to use adler32_z() if
available and adler32() if not, without too much clutter elsewhere.
(SVN__ADLER_MOD_BASE): Renamed from ADLER_MOD_BASE and made unsigned.
(svn__adler32): Consume huge input data sets in SVN__ADLER32_SIZE_MAX
-sized chunks. Shortcut the result if someone fed us zero-length data.
* subversion/tests/libsvn_subr/adler32-test.c: New file with tests
that compare our adler32 implementation with the one in zlib.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1931334 13f79535-47bb-0310-9956-ffa450edef68
Report URL: https://github.com/apache/subversion/actions/runs/21050361214
With regards,
GitHub Actions via GitBox