[PATCH] s3-lib/util: fix read across end of namelist string
bb at sernet.de
Tue Apr 8 02:25:40 MDT 2014
If the namelist, which set_namearray receives, is not terminated with a
'/', we try to read the next character behind the string termination '\0'.
In the case that the namelist is followed by a (more or less) valid
string, we could produce several effects like unintentional vetoed,
hidden or non-oplocked files or failures like:
"Conversion error: Incomplete multibyte sequence(..."
Please find attached the proposed patch :-)
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1680 bytes
Desc: not available
More information about the samba-technical