aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/QueryResult.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2013-08-24 17:49:14 +0200
committerjackpoz <giacomopoz@gmail.com>2013-08-24 17:49:14 +0200
commit21459739c63828ae7b5a74e87cbf44703d51ce8d (patch)
treebe522bf13e54574138f76413fd4720031533eea9 /src/server/shared/Database/QueryResult.cpp
parent58e6503eef9245c937004a362ab767444e9f046d (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/server/shared/Database/QueryResult.cpp')
0 files changed, 0 insertions, 0 deletions