[PATCH] s3-vfs: handle calling chdir after disconnect
Volker Lendecke
Volker.Lendecke at SerNet.DE
Thu Jan 15 12:58:42 MST 2015
On Thu, Jan 15, 2015 at 11:46:01AM -0500, Ira Cooper wrote:
> I'd argue you are papering over the real problem, which is that Samba
> shouldn't be doing that in the first place.
>
> Try this patch out, it swaps the two calls in the close_cnum.
>
> (The code is 100% untested!)
>
> Jeremy/Volker, I'd love your eyes on this one.
Not having tested it I'd say this looks 100% reasonable.
Accessing "conn" after a call to the DISCONNECT is just
wrong.
Volker
--
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
More information about the samba-technical
mailing list