diff options
author | Georgi Kodinov <joro@sun.com> | 2009-08-24 15:28:03 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-08-24 15:28:03 +0300 |
commit | e4f8deb2266ec8509d95bb29e508a82bb666c7db (patch) | |
tree | 2b8b30e6a09499348e100ef83b6a9e47dd68a44b /Docs | |
parent | 8dba7d18b4ff2641ac6556a3a4e543bae42d0227 (diff) | |
download | mariadb-git-e4f8deb2266ec8509d95bb29e508a82bb666c7db.tar.gz |
Bug #37044: Read overflow in opt_range.cc found during "make test"
The code was using a special global buffer for the value of IS NULL ranges.
This was not always long enough to be copied by a regular memcpy. As a
result read buffer overflows may occur.
Fixed by setting the null byte to 1 and setting the rest of the field disk image
to NULL with a bzero (instead of relying on the buffer and memcpy()).
Diffstat (limited to 'Docs')
0 files changed, 0 insertions, 0 deletions