diff options
author | Phil Sutter <phil@nwl.cc> | 2022-11-28 01:46:13 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-11-28 08:27:09 +0100 |
commit | 316ba77dcdadd9599d98d3b66cd8440fd4a1eaac (patch) | |
tree | 1557ff6d7730894d0cf8481748fd26bc762e7067 /Config.in | |
parent | 6794a3dd815affd9a5e9610323164c464b93fad2 (diff) |
adk/tools/pkgmaker: Fix memleak in toupperstr()
The function allocated a fresh buffer upon every call but callers didn't
care to free the returned value.
To solve this in a most simple way, make the function non-reentrant,
returning a pointer to a local, statically allocated buffer which is
being overwritten upon each consecutive call.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'Config.in')
0 files changed, 0 insertions, 0 deletions