Fix potential null pointer dereference
authorJan Kotas <jkotas@microsoft.com>
Tue, 19 May 2015 07:55:02 +0000 (00:55 -0700)
committerJan Kotas <jkotas@microsoft.com>
Tue, 19 May 2015 07:55:02 +0000 (00:55 -0700)
commit482fa683055ced70832b7c05ec7525add04ba4f5
treeeedeeba368affbe3ae0b82542b3d4cdc2d931d23
parentdcbc809202ff9017afbed25d1f7ae9348701639c
Fix potential null pointer dereference

Calling WriteFile with both lpOverlapped and lpNumberOfBytesWritten set to null is invalid combination on Windows 7

[tfs-changeset: 1472978]
src/zap/zapimage.cpp
src/zap/zapwriter.cpp