Catch exceptions during argument sanitization in sanitizeStacktrace()
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 5 May 2021 14:49:00 +0000 (16:49 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 5 May 2021 14:49:00 +0000 (16:49 +0200)
commit2b77a9a4f267c829c7196c9f553415da276225ff
treeebebe3e02b7becb2b5a4bbd6457d3b85b791af38
parent9c63885b560554841d900728a178f81c2ac00067
Catch exceptions during argument sanitization in sanitizeStacktrace()

The sanitization logic is somewhat fragile. Redact all arguments of the current
stack frame if some error occurs to fail closed.
wcfsetup/install/files/lib/core.functions.php