Add missing string terminator

When copying the string strncpy won't add nul termination since
the string length is equal to the length specified.  Explicitly
set a nul terminator after copying to properly terminate. Found
via post-commit review.

Author: Rahila Syed <rahilasye...@gmail.com>
Reviewed-by: Daniel Gustafsson <dan...@yesql.se>
Discussion: 
https://postgr.es/m/CAH2L28vt16C9xTuK+K7QZvtA3kCNWXOEiT=geekuw3xxp9l...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d2a1ed1727a8ef45eab1a8ddb3d375c1ce839aac

Modified Files
--------------
src/backend/utils/mmgr/mcxt.c | 1 +
1 file changed, 1 insertion(+)

Reply via email to