Re: Unbounded %s in sscanf

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-10-15T14:07:21Z
Lists: pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> I propose to apply the attached all the way down (with the basebackup hunk from
> 11), or down to 10 if we want to be conservative with the final 9.6 re ancient
> bugs that haven't seen complaints.

LGTM.  No objection to applying this in 9.6.

			regards, tom lane



Commits

  1. Fix bug in TOC file error message printing

  2. Fix sscanf limits in pg_basebackup and pg_dump

  3. Fix sscanf limits in pg_dump