aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-04-19 11:32:53 +0200
committerKim Alvefur <zash@zash.se>2023-04-19 11:32:53 +0200
commit57c37716145d1383e861c390c4953f41e81dfdb3 (patch)
treecf83d6527691274b0de9a1c7cbb26cebc7ae3df4 /CONTRIBUTING
parent506ee45da2853e66bf20b0d9a2c3cbee22c4b55d (diff)
downloadprosody-57c37716145d1383e861c390c4953f41e81dfdb3.tar.gz
prosody-57c37716145d1383e861c390c4953f41e81dfdb3.zip
util.error: Fix error on conversion of invalid error stanza, fix #1805
Error stanzas should have an <error> element, but if you pass a stanza without one to util.error.from_stanza() it triggers an attempt to index a nil value, which this patch avoids. In the conditional, it should be safe to assume error_tag is non-nil since condition can't have those values then.
Diffstat (limited to 'CONTRIBUTING')
0 files changed, 0 insertions, 0 deletions