diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-21 22:43:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-01-04 13:01:28 +0100 |
commit | e75e7573e1a44faaea833eb1f390def5d6ab672f (patch) | |
tree | 2c5d0da09b23e93ac736a18d493a08a1f33b621a /wcsmbs/wcstok.c | |
parent | bf19b5fdcde6bae47a17e6173f57f0606a8bd0e9 (diff) | |
download | glibc-e75e7573e1a44faaea833eb1f390def5d6ab672f.tar.gz glibc-e75e7573e1a44faaea833eb1f390def5d6ab672f.tar.xz glibc-e75e7573e1a44faaea833eb1f390def5d6ab672f.zip |
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 4dd8e7c0ce5ecc7f65e33e60ad2f717b31de32ec)
Diffstat (limited to 'wcsmbs/wcstok.c')
0 files changed, 0 insertions, 0 deletions