msxml3: Fix varargs handling in libxml2 error callback implementation

Nikolay Sivov nsivov at codeweavers.com
Wed Feb 15 16:55:44 CST 2012


The problem is that vsnprintf() was called multiple times with same 
va_list. Ti fix that it was necessary to get rid of some tracing bits 
like macro-defined callback calls and a single function for all kinds of 
error types.

As far as I understand this problem it leads to a stack corruption when 
va_list is used multiple time without va_start/va_end around it, so it's 
critical to fix.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-varargs-handling-in-libxml2-error-callback-imple.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120216/1ae356a6/attachment-0001.ksh>


More information about the wine-patches mailing list