mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-27 02:07:19 +02:00
strncmp() is a specialized API unsuited for routine copying into fixed-size buffers. On a system where the length of a single filename can exceed MAXPGPATH, the pg_archivecleanup change prevents a simple crash in the subsequent strlen(). Few filesystems support names that long, and calling pg_archivecleanup with untrusted input is still not a credible use case. Therefore, no back-patch. David Rowley |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
pg_archivecleanup.c |