aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/purple/purple.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2016-10-12 05:07:25 -0300
committerdequis <dx@dxzone.com.ar>2016-10-12 05:12:41 -0300
commit9698fc0a190f958fa28a8e54b2bfd6ccfdb2aa18 (patch)
tree56f3f0df7178fe786122a1d121fcd376a7c296d7 /protocols/purple/purple.c
parent01d56c0c47f4d4642be4224b43c403918f3d4372 (diff)
jabber: Don't pass a readonly empty string to imcb_chat_topic()
Fixes crashes when a topic is unset and strip_html is set to always. Turns out that the strip_html() function does a strcpy at the end which may write a single null byte over the null byte of the empty string, and if it's not in writable memory, that blows up. Thanks to iamthemcmaster / mcm for pointing this out
Diffstat (limited to 'protocols/purple/purple.c')
0 files changed, 0 insertions, 0 deletions