1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/librpc/idl
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
..
IDL_LICENSE.txt
leases_db.idl smbd: Make "current_state" show up first in the blob 2019-09-17 22:49:36 +00:00
libnet_join.idl s3:libnet_join.idl: add krb5_salt to libnet_JoinCtx 2017-06-27 16:57:43 +02:00
libnetapi.idl s3-netapi: add DS_8 and WS flags to libnetapi and nltest. 2014-10-24 11:30:05 +02:00
open_files.idl smbd: Convert share_mode_data->num_share_modes into a boolean8 2019-12-18 00:05:13 +00:00
perfcount.idl idl: Fix a typo 2014-10-07 17:03:42 +02:00
secrets.idl idl: limit recurion on recursive elements 2020-02-27 02:29:20 +00:00
smbXsrv.idl idl: limit recurion on recursive elements 2020-02-27 02:29:20 +00:00
wscript_build librpc: Do not include the ndr_table for libnet_join.idl and libnetapi.idl in the global list 2019-11-13 00:32:36 +00:00