aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-01-08 15:37:11 +0100
committerest31 <MTest31@outlook.com>2016-01-08 15:37:11 +0100
commit57a461930ba13b0b499c334d77e4b6a0aa73606b (patch)
tree1b7f9fe43f55b1fea78f64af794b2c5d00ef8374 /builtin/game
parent0bbbc6e13dc8180cf1d98f9866bc72a510162eb3 (diff)
downloadminetest-57a461930ba13b0b499c334d77e4b6a0aa73606b.tar.gz
minetest-57a461930ba13b0b499c334d77e4b6a0aa73606b.tar.bz2
minetest-57a461930ba13b0b499c334d77e4b6a0aa73606b.zip
Fix redis error reporting
Previously, we assumed that reply->str was NULL terminated. However, this turned out to be not true, as users reported crashes in strlen connected to where reply->str was appended to an std::string. Use the method recomended by the docs, to read the length separately.
Diffstat (limited to 'builtin/game')
0 files changed, 0 insertions, 0 deletions