[Pidgin] #11598: purple_mime_document_parsen() broken when '=' char included in boundary
Pidgin
trac at pidgin.im
Fri Sep 3 17:45:09 EDT 2010
#11598: purple_mime_document_parsen() broken when '=' char included in boundary
------------------------------------+---------------------------------------
Reporter: haakon | Owner:
Type: patch | Status: new
Milestone: Patches Needing Review | Component: libpurple
Version: | Resolution:
Keywords: mime libpurple |
------------------------------------+---------------------------------------
Comment(by QuLogic):
Is there a reason to search the string backwards? Since we're fixing
'='-in-boundary, what would happen if the delimiter were
boundary="==boundary=="?
Also, you can use `g_strndup` instead of alloc+copy. And this isn't C++,
so you can't define `char *bnd` in the middle of the function.
--
Ticket URL: <http://developer.pidgin.im/ticket/11598#comment:2>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list