mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
536a84935c
When there is no data we still need to allocate for the terminating NULL. Found by Michael Hanselmann using Honggfuzz and an fuzzer for Samba's NDR layer. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13875 Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>