diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-11-18 22:59:13 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-11-19 12:16:57 +0100 |
commit | fdd958b8a3f3bda0b39959cb4ac3184ae232e279 (patch) | |
tree | d0b488de2208eb21264576869ab03587d29d60cd /qadevOOo | |
parent | 5319def848e855068512f0f895086ff7a1f9e44f (diff) |
vcl: reorder loop to avoid DrMemory warning
DrMemory 1.9.0-4 32-bit complains about UNINITIALIZED READ on the
instruction "test %ecx %ecx" corresponding to the *pW test in the while
loop, on the last iteration.
GetKeyNameTextW() is documented to null-terminate the buffer, so either
it has a bug and doesn't do that, or DrMemory has a bug and falsely
reports an error.
Either way it can be avoided by checking the end position first.
https://github.com/DynamoRIO/drmemory/issues/1819
Change-Id: I546d2057d39865d527c1d7c436f690669b214d75
Diffstat (limited to 'qadevOOo')
0 files changed, 0 insertions, 0 deletions