[Pidgin] #11598: purple_mime_document_parsen() broken when '=' char included in boundary

Pidgin trac at pidgin.im
Sat Sep 4 14:19:54 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 haakon):

 Replying to [comment:2 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=="?

 That's true, string must be searched from the beginning.

 > And this isn't C++, so you can't define `char *bnd` in the middle of the
 function.

 Sorry, my fault.

 Attached updated version of the patch.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/11598#comment:3>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list