]> git.ipfire.org Git - thirdparty/openldap.git/commit
fix idl intersection ITS#10233
authorHAMANO Tsukasa <hamano@osstech.co.jp>
Wed, 26 Jun 2024 01:51:17 +0000 (10:51 +0900)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 8 Jul 2024 13:06:53 +0000 (13:06 +0000)
commit554e754b3fba40f5385f5912bfb0a6fc7e7e50dc
treec76e223d0e66a46f0a1f9c4b926b789aeaf6c1cb
parent3327a6b69378acac39828b671726d7c15fe9921d
fix idl intersection ITS#10233

The `mdb_idl_intersection()` and `wt_idl_intersection()` functions derived from back-bdb return wrong results.

expect:
[1, 3] ∩ [2] = []

actual:
[1, 3] ∩ [2] = [2]

also
- Add scope checking for back-wt
- fix compiler warning
servers/slapd/back-mdb/idl.c
servers/slapd/back-wt/id2entry.c
servers/slapd/back-wt/idl.c
servers/slapd/back-wt/search.c