summaryrefslogtreecommitdiff
path: root/libcli/auth/proto.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-04-27 18:10:14 +0200
committerMichael Adam <obnox@samba.org>2009-04-28 12:20:38 +0200
commitd5f2bbdc489b751331e86afae58b0d80c5fedb9c (patch)
treec27d3a0db04183f39788dd5d1119d25abefa992c /libcli/auth/proto.h
parent09ec85715b0e99740156ebb7213eddd1edfea631 (diff)
downloadsamba-d5f2bbdc489b751331e86afae58b0d80c5fedb9c.tar.gz
samba-d5f2bbdc489b751331e86afae58b0d80c5fedb9c.tar.bz2
samba-d5f2bbdc489b751331e86afae58b0d80c5fedb9c.zip
s3:loadparm: prevent infinite include nesting.
This introduces a hard coded MAX_INCLUDE_DEPTH of 100. When this is exceeded, handle_include (and hence lp_load) fails. One could of course implement a more intelligent loop detection in the include-tree, but this would require some restructuring of the internal loadparm housekeeping. Maybe as a second improvement step. Michael
Diffstat (limited to 'libcli/auth/proto.h')
0 files changed, 0 insertions, 0 deletions