diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2021-11-20 15:23:24 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2021-11-20 15:23:24 +0000 |
| commit | e89e735995382de9b5dd8df5d1f45ed9f766f06a (patch) | |
| tree | c5380dfa668fc6072c461c83fd0006172d6a31eb /scripts | |
| parent | config: fix memory leak in value_to_enum() (diff) | |
config: use stack allocation for temporary buffer in value_to_enum()
The maximum size required for the string buffer is relatively small,
known at compile-time and not likely to ever grow beyond 512 bytes.
Therefore we may as well just use the stack.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
