1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00
Gary Lockyer 139f49ac0c CVE-2020-10704: libcli ldap_message: Add search size limits to ldap_decode
Add search request size limits to ldap_decode calls.

The ldap server uses the smb.conf variable
"ldap max search request size" which defaults to 250Kb.
For cldap the limit is hard coded as 4096.

Credit to OSS-Fuzz

REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20454
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14334

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-04-21 10:21:09 +02:00
..
2018-04-03 20:20:10 +02:00
2018-04-24 01:53:19 +02:00
2019-01-08 03:40:28 +01:00
2018-12-11 13:58:30 +01:00
2019-01-08 03:40:28 +01:00
2011-10-27 17:09:50 +02:00