[Pidgin] #15813: PurpleSrvTxtQueryUiOps doesn't seem to work for TXT queries
Pidgin
trac at pidgin.im
Mon Nov 11 20:30:54 EST 2013
#15813: PurpleSrvTxtQueryUiOps doesn't seem to work for TXT queries
----------------------+-----------------------
Reporter: dsumorok | Owner:
Type: defect | Status: new
Milestone: | Component: libpurple
Version: 2.10.7 | Keywords:
----------------------+-----------------------
The resolve() UI function in the PurpleSrvTxtQueryUiOps structure
(dnssrv.h) does not specify whether the lookup is a SRV lookup or a TXT
lookup. Furthermore, if it is a TXT lookup, and the lookup fails,
purple_srv_txt_query_ui_resolve() (in dnssrv.c) calls the txt callback
with the srv arguments (since the "srv" and "txt" callback pointers are
part of the same union, in the _PurpleSrvTxtQueryData structure,
query_data->cb.srv will be the same as query_data->cb.txt). This
invariably causes a crash.
--
Ticket URL: <https://developer.pidgin.im/ticket/15813>
Pidgin <https://pidgin.im>
Pidgin
More information about the Tracker
mailing list