| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix type in test_escape test |
| Date: | 2025-02-10 17:30:44 |
| Message-ID: | E1thXcK-006P84-10@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)sss(dot)pgh(dot)pa(dot)us>
Security: CVE-2025-1094
Backpatch-through: 13
Branch
------
REL_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/4a6825c762112f085d6ee03bbce8e7abe2bf98e5
Modified Files
--------------
src/test/modules/test_escape/test_escape.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2025-02-10 20:59:25 | pgsql: Lock table in ShareUpdateExclusive when importing index stats. |
| Previous Message | Andres Freund | 2025-02-10 15:09:49 | pgsql: Add test of various escape functions |