pidgin/pidgin

Fix an out of bounds write in purple_markup_linkify.
release-2.x.y
2021-07-08, Gary Kramlich
71df0a528a5a
Fix an out of bounds write in purple_markup_linkify.

This was found by Thomas Roth , Dominik Maier
, and Fabian Freyer .

Testing Done:
Compiled and ran the `purple_markup_linkify_fuzzer` from the google oss-fuzz project to verify the fix.

Reviewed at https://reviews.imfreedom.org/r/781/
/** @page core-signals Core Signals
@signals
@signal quitting
@signal uri-handler
@endsignals
@see core.h
<hr>
@signaldef quitting
@signalproto
void (*quitting)();
@endsignalproto
@signaldesc
Emitted when libpurple is quitting.
@endsignaldef
@signaldef uri-handler
@signalproto
gboolean (*uri_handler)(const gchar *proto, const gchar *cmd, GHashTable *params);
@endsignalproto
@signaldesc
Emitted when handling a registered URI.
@param proto The protocol of the URI.
@param cmd The 'command' of the URI.
@param params Any key/value parameters from the URI.
@endsignaldef
*/
// vim: syntax=c.doxygen tw=75 et