• Georgi Kodinov's avatar
    Bug #37044: Read overflow in opt_range.cc found during "make test" · 7492d622
    Georgi Kodinov authored
    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()).
    7492d622
opt_range.cc 302 KB