Use psprintf() instead of snprintf().
authorTatsuo Ishii <[email protected]>
Sat, 3 Aug 2024 05:30:33 +0000 (14:30 +0900)
committerTatsuo Ishii <[email protected]>
Sat, 3 Aug 2024 05:30:33 +0000 (14:30 +0900)
commit6fdba5c331714930a0d08d256da0832d1fd8577b
tree2883df410873a766e9d7e1794ab526b72117f371
parent562f4330cbb25496c482129eb21e44a4761b6ec9
Use psprintf() instead of snprintf().

Previously fixed size buffers were used for snprintf in the file. It's
not appropriate to use snprintf here because the result string could
exceed the buffer size and it could lead to incomplete command or path
used after.

Back-through: 4.1.
src/query_cache/pool_memqcache.c