Fix buffer overflow in writeHashEntry()
MAXALIGN(datum_size) can be greater than BUFFER_INCREMENT_SIZE, hence when allocating the buffer need to make sure buffer has enough space for writing the next datum. (cherry picked from commit bb99c441)
Showing
想要评论请 注册 或 登录