[PATCH] gdi32: check for NULL pointer in GetOutlineTextMetrics

Nikolay Sivov bunglehead at gmail.com
Mon Jul 27 14:09:07 CDT 2015


On 27.07.2015 21:19, Daniel Lehman wrote:
>
>

Yes, looks like it will access NULL out pointer if cbData != 0. Please 
add a test for that, if it returns required buffer size your fix looks 
correct to me, if it returns 0 we don't need to call driver at all and 
API call itself should be fixed, not a driver.



More information about the wine-devel mailing list