Skip to content
Commit e3217c7f authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

iconv: Remove alloca use in gconv-modules configuration parsing



The alloca sizes ought to be constrained to PATH_MAX, but replace them
with dynamic allocation to be safe.  A static PATH_MAX array would
have worked too but Hurd does not have PATH_MAX and the code path is
not hot enough to micro-optimise this allocation.  Revisit if any of
those realities change.

Reviewed-by: default avatarDJ Delorie <dj@redhat.com>
parent e8d52b64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment