diff options
author | jackpoz <giacomopoz@gmail.com> | 2013-08-24 17:49:14 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2013-08-24 17:49:14 +0200 |
commit | 21459739c63828ae7b5a74e87cbf44703d51ce8d (patch) | |
tree | be522bf13e54574138f76413fd4720031533eea9 /src/tools/vmap4_assembler/VMapAssembler.cpp | |
parent | 58e6503eef9245c937004a362ab767444e9f046d (diff) |
Fix uninitialized UpdateMask field
Initialized UpdateMask::_bits to NULL in all constructors.
UpdateMask(UpdateMask const& right) constructor sets the field count with SetCount() method before any field initialization. This means that SetCount() will call delete[] on the uninitialized _bits pointer field, leading to undefined behavior.
Diffstat (limited to 'src/tools/vmap4_assembler/VMapAssembler.cpp')
0 files changed, 0 insertions, 0 deletions