Dereference before NULL check (src/backend/storage/ipc/latch.c)
Ranier Vilela <ranier.vf@gmail.com>
From: Ranier Vilela <ranier.vf@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-10-31T14:40:53Z
Lists: pgsql-hackers
Attachments
- fix_dereference_before_null_check_latch.patch (application/octet-stream) patch
Hi, Per Coverity. If test set->latch against NULL, is why it can be NULL. ResetEvent can dereference NULL. regards, Ranier Vilela
Commits
-
Fix WaitLatch(NULL) on Windows.
- a7e65dc88b6f 14.0 landed