Re: libpq minor TOCTOU violation

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq minor TOCTOU violation
Date: 2024-08-14 01:12:32
Message-ID: 6c9c47ed-5978-45e5-98f3-30200ead73ef@proxel.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 8/10/24 9:10 AM, Peter Eisentraut wrote:
> Thoughts?

I like it. Not because of the security issue but mainly because it is
more correct to do it this way. Plus the old code running stat() on
Windows also made little sense.

I think this simple fix can be committed.

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2024-08-14 01:51:39 Re: collect_corrupt_items_vacuum.patch
Previous Message Jeff Davis 2024-08-14 01:05:23 Re: Remaining dependency on setlocale()