diff options
author | Fabien Chouteau <chouteau@adacore.com> | 2011-11-07 15:36:14 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-09 12:06:20 -0600 |
commit | bfc763fcfa80d89d31c4f801c2a82130dd92c708 (patch) | |
tree | eac1aee304fd81d15f7207a8ecbda45a93890083 /rules.mak | |
parent | cca5de7389ff850ab19d4458da6a0c22ccbac976 (diff) | |
download | qemu-bfc763fcfa80d89d31c4f801c2a82130dd92c708.zip qemu-bfc763fcfa80d89d31c4f801c2a82130dd92c708.tar.gz qemu-bfc763fcfa80d89d31c4f801c2a82130dd92c708.tar.bz2 |
Replace WriteFileEx with WriteFile in qemu_create_pidfile
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>
Diffstat (limited to 'rules.mak')
0 files changed, 0 insertions, 0 deletions