]> git.ipfire.org Git - thirdparty/pdns.git/commit
Log "NULL" for nullptr-bound properties instead of dereferencing 12035/head
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 24 Aug 2022 21:13:49 +0000 (23:13 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 27 Sep 2022 11:28:59 +0000 (13:28 +0200)
commit5a718b3a3b1edb36bf993973e9fb3b0d7f9ab572
treeb574f812cc37325b1b82f0b6f9785ffc92c6fe60
parent571146fa726d740ba86028f288c8e1724f04230f
Log "NULL" for nullptr-bound properties instead of dereferencing

Fixes the issue where pdnsutil would segfault when query logging is enabled, and would
leave the db unmodified. Surprisingly, the segfault only happened on FreeBSD.

Fixes #11731

(cherry picked from commit fd4fd2dae2f29f668b7ad0645c112b12854ab834)
modules/gpgsqlbackend/spgsql.cc