Commit Graph
1 Commits
Author SHA1 Message Date
Florian Weimer e75e7573e1 Implement allocation buffers for internal use
This commit adds fixed-size allocation buffers.  The primary use
case is in NSS modules, where dynamically sized data is stored
in a fixed-size buffer provided by the caller.

Other uses include a replacement of mempcpy cascades (which is
safer due to the size checking inherent to allocation buffers).

(cherry picked from commit 4dd8e7c0ce)
2018-01-04 13:01:28 +01:00