aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_tombstones.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-07-11 17:01:55 +0200
committerKim Alvefur <zash@zash.se>2022-07-11 17:01:55 +0200
commite893bbf6817ff4193d9639afc40143fd792c9a4b (patch)
treea759130d39f816df05b084c4d8e7867e33a9dae1 /plugins/mod_tombstones.lua
parente12c9a83df999049970403cbbd6a6427f79f889e (diff)
downloadprosody-e893bbf6817ff4193d9639afc40143fd792c9a4b.tar.gz
prosody-e893bbf6817ff4193d9639afc40143fd792c9a4b.zip
util.crypto: Use stack space buffers
Removes assumption that LUAL_BUFFERSIZE is known at pre-processing time, which it is not in Lua 5.3 and 5.4, where it is a computed macro based on sizeof. Allocation of stack space is safer and faster, no need to worry about luaL_prepbuffer failing to allocate memory and skipping free()
Diffstat (limited to 'plugins/mod_tombstones.lua')
0 files changed, 0 insertions, 0 deletions