s3:smbd: fix max_buffer handling of initial notify requests

Enterprise / Samba - Stefan Metzmacher [samba.org] - 29 March 2019 00:35 UTC

The max_buffer value is only evaluated on the first notify request on a directory handle.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13864

11f25834203 s3:smbd: fix max_buffer handling of initial notify requests
selftest/knownfail | 1 -
source3/smbd/notify.c | 11 +++++++++--
source3/smbd/nttrans.c | 6 ++++--
source3/smbd/proto.h | 4 +++-
source3/smbd/smb2_notify.c | 1 +
5 files changed, 17 insertions(+), 6 deletions(-)

Upstream: gitweb.samba.org


  • Share