fix overflow in several advapi32 crypt functions hidden by broken WideCharToMultiByte

Dmitry Timoshkov dmitry at codeweavers.com
Mon Jun 29 02:49:17 CDT 2009


"Christoph von Wittich" <Christoph at ApiViewer.de> wrote:

> + if (*pcbProvName > INT_MAX)
> + *pcbProvName = INT_MAX;

In which way WideCharToMultiByte is broken? It always helps to provide
an explanation and if possible a test case.

-- 
Dmitry.



More information about the wine-devel mailing list