summaryrefslogtreecommitdiff
path: root/lib/ldb/tests/python/api.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2023-11-08 10:43:38 +1300
committerAndrew Bartlett <abartlet@samba.org>2024-04-10 05:13:32 +0000
commit784ee21616a60993ecc0979f83fbb04467d57af9 (patch)
treeb5c7c8cec44b88e1b10edd930ed836929495237d /lib/ldb/tests/python/api.py
parentffbe623963a9b495e70f767512e1b147ebebba1f (diff)
downloadsamba-784ee21616a60993ecc0979f83fbb04467d57af9.tar.gz
samba-784ee21616a60993ecc0979f83fbb04467d57af9.tar.bz2
samba-784ee21616a60993ecc0979f83fbb04467d57af9.zip
pyldb: Include a reference to the Ldb in objects that use
This will help avoid use-after-free of the internally cached ldb within struct ldb_dn by ensuring that it lives as long. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'lib/ldb/tests/python/api.py')
0 files changed, 0 insertions, 0 deletions