ntdll: Initialize APC call and result variables to suppressvalgrind warnings

Dmitry Timoshkov dmitry at codeweavers.com
Tue Dec 11 07:07:45 CST 2007


"Alexandre Julliard" <julliard at winehq.org> wrote:

> It's OK for requests, but why do you want to initialize the result
> structure too?

NTDLL_queue_process_apc for a local process calls invoke_apc() which
initializes the result to 0 before proceeding. Perhaps memset() should
be added for a not local case as well, or memset() should be removed
from invoke_apc() and replaced by explicit initialization as done in
my patch. What's your opinion?

-- 
Dmitry.



More information about the wine-devel mailing list