aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZoltán Kéri <z@zolk3ri.name>2024-12-30 12:00:38 +0100
committerZoltán Kéri <z@zolk3ri.name>2024-12-30 12:00:38 +0100
commit591dd8765adb04ff5e0ba66c4c583ea49dbbcc87 (patch)
tree091d46eea9321041ade8b617622e5f6c0fd8e1dc /src
parent0d4c0064d961d8a50901afd8c359962b687d1cbd (diff)
encoding/base32: Remove incorrect defer delete in encode()
Remove premature deallocation of the output buffer which was causing use-after-free behavior. The returned string needs to take ownership of this memory, but the defer delete was freeing it before the string could be used. This fixes issues with encoding that were introduced by overly aggressive memory cleanup in 93238db2.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions