[pacman-dev] [PATCH] Prevent stack overflow on symbolic link access.
tobias at stoeckmann.org
Thu Jun 9 20:11:02 UTC 2016
> On June 9, 2016 at 7:31 PM Andrew Gregory <andrew.gregory.8 at gmail.com> wrote:
> I don't follow your logic. SSIZE_MAX is only guaranteed to be at
> least 32,767. PATH_MAX can easily be larger than that without coming
> close to exhausting my system's resources.
If SSIZE_MAX is just 32,767, then SIZE_MAX is 65,535. With such a small amount
of addressable space, your resources are very quickly exhausted. Let alone that
I don't remember a 16 bit memory operating system that is still supported.
More information about the pacman-dev