pg_trgm_pro icon indicating copy to clipboard operation
pg_trgm_pro copied to clipboard

No null terminated character at the end of the array

Open Bbulatov opened this issue 1 year ago • 0 comments

Hello! During the static analysis detected possible no null terminated character at the end of the array. Copying from string 'bword' to '&buf[2]' without null termination at trgm_op.c:253. Further in the code, there is no explicit initialization of the null terminator anywhere. Please clarify whether this is critical?

Bbulatov avatar Feb 13 '24 07:02 Bbulatov