]> git.ipfire.org Git - thirdparty/pdns.git/commit
LMDB: Clarify that the base commit() method should be called in the dtor
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Mar 2022 15:49:41 +0000 (17:49 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Mar 2022 15:49:41 +0000 (17:49 +0200)
commit4133b8edaeab487f2d0b54759d6253a1b80f2f48
tree837f701bee7f7d533dba6ce3dd2df953855142bd
parent9ff864a393ad8ac4b5219bcc466a39107f7fca18
LMDB: Clarify that the base commit() method should be called in the dtor

CodeQL warns that there might some ambiguity about whether the base
or derived commit() method is called in derived classes:

https://github.com/PowerDNS/pdns/security/code-scanning/379
ext/lmdb-safe/lmdb-safe.cc