Re: Out-of-bounds (src/backend/utils/misc/queryjumble.c)

2021-06-21 Thread Tom Lane
Ranier Vilela writes: > Per Coverity. > 3 out-of-bounds at function AppendJumble. > They have the face, smell and color of typo. > And we usually increment the character count after a memcpy. > Coverity no longer complained after the patch. > Thoughts? This patch is incorrect on its face, as y

Out-of-bounds (src/backend/utils/misc/queryjumble.c)

2021-06-21 Thread Ranier Vilela
Hi, Per Coverity. 3 out-of-bounds at function AppendJumble. They have the face, smell and color of typo. And we usually increment the character count after a memcpy. Coverity no longer complained after the patch. Thoughts? regards, Ranier Vilela fix_out_of_bounds_queryjumble.patch Descriptio