Changeset 9698fc0 for protocols/purple

Timestamp:
2016-10-12T08:12:41Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
a08b2db
Parents:
01d56c0
git-author:
dequis <dx@…> (12-10-16 08:07:25)
git-committer:
dequis <dx@…> (12-10-16 08:12:41)
Message:

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.