git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 32c3400) | patch
Fix type in test_escape test
2025年2月10日 17:09:23 +0000 (12:09 -0500)
2025年2月10日 17:12:14 +0000 (12:12 -0500)
commit 979205e47bdc094787b10142e84a7634f7c720dd
Fix type in test_escape test

On machines where char is unsigned this could lead to option parsing looping
endlessly. It's also too narrow a type on other hardware.

Found via Tom Lane's monitoring of the buildfarm.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Security: CVE-2025-1094
Backpatch-through: 13
src/test/modules/test_escape/test_escape.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /