diff options
author | Daniel Lowe <dlowe@dlowe.net> | 2019-04-21 11:14:17 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-04-26 10:41:04 +0200 |
commit | f955276694680695be76dc9bfcf22d19e10613be (patch) | |
tree | 28546d911882797ef523599c1ef28e91e6d8a73a /library/ajaxchat/chat/lib/class/AJAXChatMySQLiDataBase.php | |
parent | 77cc60faf26454e17d21236b7d6ac642f32a22c1 (diff) | |
download | volse-hubzilla-f955276694680695be76dc9bfcf22d19e10613be.tar.gz volse-hubzilla-f955276694680695be76dc9bfcf22d19e10613be.tar.bz2 volse-hubzilla-f955276694680695be76dc9bfcf22d19e10613be.zip |
Fix infinite loop using postgres as backend
unescapebin is handed a string in some cases, and it causes an infinite
loop when it does. This ensures that the argument is a resource before
loading its contents.
(cherry picked from commit 9a6531e2a278f7462241ddde7b3e5363d13b5e58)
Diffstat (limited to 'library/ajaxchat/chat/lib/class/AJAXChatMySQLiDataBase.php')
0 files changed, 0 insertions, 0 deletions