On Wed, Oct 14, 2020 at 10:18:38AM +0900, Kyotaro Horiguchi wrote: > At Fri, 9 Oct 2020 11:48:59 -0300, Alvaro Herrera <[email protected]> > wrote in >> Doesn't enlargePQExpBuffer() include room for the trailing zero? I >> think it does. > > Right. I faintly recall I said the same thing before..
FWIW, as pqexpbuffer.c says, it does:
needed += str->len + 1; /* total space required now */
--
Michael
signature.asc
Description: PGP signature
