[PATCH] s3-lib/util: fix read across end of namelist string

Andreas Schneider asn at samba.org
Tue Apr 8 04:53:51 MDT 2014


On Tuesday 08 April 2014 10:25:40 Bjoern Baumbach wrote:
> Hi!
> 
> 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 :-)

+1 :)

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org



More information about the samba-technical mailing list