Re: Unbounded %s in sscanf

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Unbounded %s in sscanf
Date: 2021-07-30 15:48:49
Message-ID: 3B564B94-D117-4AEA-A016-595F8D52593A@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I took another look at this today, and propose to push the attached. The
pg_dump fix goes all the way back to 9.6 whereas the pg_basebackup fix is from
11 and onwards. The adjacent shadowed variable bug in pg_dump is also present
since 9.6.

Thoughts?

--
Daniel Gustafsson https://vmware.com/

Attachment Content-Type Size
v4-0002-Fix-bug-in-TOC-file-error-message-printing.patch application/octet-stream 2.6 KB
v4-0001-Fix-sscanf-limits-in-pg_basebackup-and-pg_dump.patch application/octet-stream 2.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-07-30 16:03:59 Re: Unbounded %s in sscanf
Previous Message Tom Lane 2021-07-30 15:22:43 Re: Segment fault when excuting SPI function On PG with commit 41c6a5be