s3-lib/util: fix read across end of namelist string
authorBjörn Baumbach <bb@sernet.de>
Mon, 7 Apr 2014 11:46:42 +0000 (13:46 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 8 Apr 2014 19:44:15 +0000 (21:44 +0200)
commit8f46b130c5c796d66d26982f5cd99c52f7c8ece1
tree66e83041f8dc3707331ff664fa3014b1b7d5fe5a
parent85041c88d8c2755448d3d659ca7261c4ebf1ec29
s3-lib/util: fix read across end of namelist string

If the namelist is not terminated with a '/', we try to read
the next character after the string termination '\0'.

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Apr  8 21:44:16 CEST 2014 on sn-devel-104
source3/lib/util.c