diff options
author | Bryan McLellan <btm@loftninjas.org> | 2018-03-13 18:40:06 -0400 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2018-03-15 17:06:05 -0400 |
commit | 2d32338f4e216341da87c8572af38667483e8181 (patch) | |
tree | c5dca260ae4644d66b032c8803690d710ab9c41e /chef.gemspec | |
parent | efaf379770ca72d3acc4af1bff18c200d6d2e366 (diff) | |
download | chef-2d32338f4e216341da87c8572af38667483e8181.tar.gz |
Pass pointer to LsaFreeMemory, not FFI::MemoryPointerbtm/13-fix-lsa-heap-corruption
LsaFreeMemory takes a pointer to the struct in memory created by LsaEnumerateAccountRights.
We have to pass it the actual pointer, not the FFI::MemoryPointer object.
This fixes masked access violations which occasionally lead to a heap corruption which
presents itself as silent termination of chef-client/ruby with a return code of -1073740940
or STATUS_HEAP_CORRUPTION / 0xc0000374.
Fixes #6589
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
Diffstat (limited to 'chef.gemspec')
0 files changed, 0 insertions, 0 deletions