[pgpool-committers: 10010] pgpool: Use psprintf() instead of	snprintf().
    Tatsuo Ishii 
    ishii at postgresql.org
       
    Sat Aug  3 15:18:59 JST 2024
    
    
  
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.
Backpatch-through: 4.1.
Branch
------
V4_5_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=b5fbad71edc1e4afc6ae3e9c43dc920b10bb76d6
Modified Files
--------------
src/query_cache/pool_memqcache.c | 66 +++++++++++++++++++++++++++-------------
1 file changed, 45 insertions(+), 21 deletions(-)
    
    
More information about the pgpool-committers
mailing list