diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-08 19:07:31 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-10-20 01:20:27 -0400 |
commit | 05973dc3bbc1aca9b3c8347de6879ed72147ab3b (patch) | |
tree | cb2504eebdf2f05acf895cca5cb7076b39da02de /src/misc/setrlimit.c | |
parent | 167dfe9672c116b315e72e57a55c7769f180dffa (diff) | |
download | musl-05973dc3bbc1aca9b3c8347de6879ed72147ab3b.tar.gz |
use dynamic buffer for getmntent
overlayfs may have fairly long lines so we use getline to allocate a
buffer dynamically. The buffer will be allocated on first use, expand as
needed, but will never be free'ed.
Downstream bug: http://bugs.alpinelinux.org/issues/5703
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Diffstat (limited to 'src/misc/setrlimit.c')
0 files changed, 0 insertions, 0 deletions