diff options
author | Isaiah Poston <isaiah@ilposton.com> | 2022-03-12 18:21:56 -0600 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2022-03-16 19:29:38 -0400 |
commit | 6d8a515796270eb6cec8a278cb353a078a10f09a (patch) | |
tree | 843dae50fcbe6a1390ed86ef62067ded6b7c48ed /include/sys/acct.h | |
parent | 760f5d7efed4d4761875334f8c4e6398be308cc9 (diff) | |
download | musl-6d8a515796270eb6cec8a278cb353a078a10f09a.tar.gz musl-6d8a515796270eb6cec8a278cb353a078a10f09a.tar.xz musl-6d8a515796270eb6cec8a278cb353a078a10f09a.zip |
fix invalid free of duplocale object when malloc has been replaced
newlocale and freelocale use __libc_malloc and __libc_free, but duplocale used malloc. If malloc was replaced, this resulted in invalid free using the wrong allocator when passing the result of duplocale to freelocale. Instead, use libc-internal malloc for duplocale. This bug was introduced by commit 1e4204d522670a1d8b8ab85f1cfefa960547e8af.
Diffstat (limited to 'include/sys/acct.h')
0 files changed, 0 insertions, 0 deletions