1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/librpc
Gary Lockyer 575d39048e idl: limit recurion on recursive elements
Limit the max_recursion on self recursive definitions in the idl to
20,000. This value is hopefully large eneough to not impact normal
operation, but small eneough to prevent stack over flow issues.

Credit to OSS-Fuzz

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Feb 27 02:29:21 UTC 2020 on sn-devel-184
2020-02-27 02:29:20 +00:00
..
crypto heimdal: invoke gsskrb5_set_dns_canonicalize(false) in gse_context_init() 2019-11-27 10:25:38 +00:00
gen_ndr waf-idl: put the gen_ndr/README file for source3 back 2010-07-19 22:17:17 +10:00
idl idl: limit recurion on recursive elements 2020-02-27 02:29:20 +00:00
rpc Revert "Use "localhost" to be ipv6 only friendly" 2018-03-19 15:34:32 +01:00
wscript_build librpc: Fill in full deps for NDR_* subsystems 2019-12-10 07:50:28 +00:00