Skip to content

Avoid large allocation on the stack.

It was possible that, when checksumming, up to 2MB of stack space is allocated for a buffer.

This is problematic in contexts where checksums are run on the non-main thread (pthread will significantly limit stack space) or in environments with stack size smaller than the RHEL default.

OSG would appreciate it if this could get backported to the version in EPEL (2.9.3).

Thanks!

Merge request reports