Re: ParseTzFile doesn't FreeFile on error
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: tgl@sss.pgh.pa.us
Cc: pgsql-hackers@lists.postgresql.org
Date: 2022-06-01T02:58:08Z
Lists: pgsql-hackers
At Tue, 31 May 2022 14:21:28 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote in > Actually the problem *is* reachable, if you intentionally break the > already-active timezone abbreviation file: newly started sessions > produce file-leak warnings after failing to apply the setting. > I concede that's not a likely scenario, but that's why I think it's > worth fixing. Ah, I see. Thanks! regards. -- Kyotaro Horiguchi NTT Open Source Software Center
Commits
-
Ensure ParseTzFile() closes the input file after failing.
- c73748b68a0e 13.8 landed
- c47a558528dd 14.4 landed
- ae758e603d5c 11.17 landed
- a3faebd6a58a 12.12 landed
- 2114910cae6a 10.22 landed
- 16c80e7d0cda 15.0 landed