[PATCH] smbXsrv_open.c: Initialize local variable.

Jeremy Allison jra at samba.org
Wed Feb 12 14:30:33 MST 2014


On Wed, Feb 12, 2014 at 02:19:46PM -0600, Christopher R. Hertel wrote:
> 
> -- 
> "Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
> Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
> jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
> ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
> OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org

> >From 36d28cc676a9877b6aa6a75c6cba7c07a7648980 Mon Sep 17 00:00:00 2001
> From: "Christopher R. Hertel (crh)" <crh at samba.org>
> Date: Wed, 12 Feb 2014 14:08:12 -0600
> Subject: [PATCH] smbXsrv_open.c: Initialize local variable.
> 
> Coverity fix.  Initialize status to NT_STATUS_OK.  Otherwise, there are
> code paths that would cause the smbXsrv_open_cleanup() function to
> return an uninitialized value.
> 
> Cov: 1168008

LGTM. Pushed to autobuild - thanks !

Jeremy.


More information about the samba-technical mailing list