]> git.ipfire.org Git - thirdparty/pdns.git/commit
Log "NULL" for nullptr-bound properties instead of dereferencing 11882/head
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 24 Aug 2022 21:13:49 +0000 (23:13 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 24 Aug 2022 21:22:49 +0000 (23:22 +0200)
commitfd4fd2dae2f29f668b7ad0645c112b12854ab834
treef28f04c3ba7c0e8aafca87b502531f2191911019
parent373858ae684b9591492d089a5c32df73a677b10d
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
modules/gpgsqlbackend/spgsql.cc