[PATCH] Windows port, fix some missing locks

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PATCH] Windows port, fix some missing locks
Date: 2020-01-20 00:23:13
Message-ID: CAEudQArXzuThhWjR9BuwYYpd1Tf5PM=3zGv9Zk11c4Yxq72VoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
Two possible race condition found.
1. src\backend\port\win32\signal.c (line 82)
The var "pg_signal_queue", is accessed eleswhere with lock.

2. src\backend\postmaster\syslogger.c
The var "rotation_requested" is accessed elsewhere with lock.

regards,
Ranier Vilela

Attachment Content-Type Size
win_missing_locks.patch application/octet-stream 1.0 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2020-01-20 00:27:41 Re: remove separate postgres.(sh)description files
Previous Message Tom Lane 2020-01-20 00:22:48 Re: [PATCH] src\backend\utils\adt\numeric.c copy and past error