summaryrefslogtreecommitdiff
path: root/chef.gemspec
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2018-03-13 18:40:06 -0400
committerBryan McLellan <btm@loftninjas.org>2018-03-15 17:06:05 -0400
commit2d32338f4e216341da87c8572af38667483e8181 (patch)
treec5dca260ae4644d66b032c8803690d710ab9c41e /chef.gemspec
parentefaf379770ca72d3acc4af1bff18c200d6d2e366 (diff)
downloadchef-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