-
Fabien Chouteau authored
The function that writes pidfile for win32 uses WriteFileEx which is an asynchronous IO function. The arguments given to WriteFileEx are allocated on the stack and one of them is "in out". When the IO operation is actually executed the calling function has already returned, so the arguments are no longer allocated or allocated to another frame. Reviewed-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Fabien Chouteau <chouteau@adacore.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
Fabien Chouteau authoredThe function that writes pidfile for win32 uses WriteFileEx which is an asynchronous IO function. The arguments given to WriteFileEx are allocated on the stack and one of them is "in out". When the IO operation is actually executed the calling function has already returned, so the arguments are no longer allocated or allocated to another frame. Reviewed-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Fabien Chouteau <chouteau@adacore.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>