Bug#741952: linux: Possible bug in 3.2's cifs/file.c, use of uninitialized variable

2014-04-07 Thread Raphael Geissert
On 7 April 2014 04:34, Ben Hutchings wrote: > Agreed; what do you think of this patch? [...] > From: Ben Hutchings > Date: Mon, 07 Apr 2014 03:29:24 +0100 > Subject: cifs: cifs_iovec_write(): fix use of uninitialised var > Bug-Debian: https://bugs.debian.org/741952 > Forwarded: not-needed > > If

Bug#741952: linux: Possible bug in 3.2's cifs/file.c, use of uninitialized variable

2014-04-06 Thread Ben Hutchings
Control: tag -1 patch On Mon, 2014-03-17 at 16:51 +0100, Raphael Geissert wrote: > Source: linux > Version: 3.2.54-2 > > Hi, > > In fs/cifs/file.c's cifs_iovec_write I believe that 'written'[1] can > be used while not initialized: it is initialized in the call to > CIFSSMBWrite2[2] but that code

Bug#741952: linux: Possible bug in 3.2's cifs/file.c, use of uninitialized variable

2014-03-17 Thread Raphael Geissert
Source: linux Version: 3.2.54-2 Hi, In fs/cifs/file.c's cifs_iovec_write I believe that 'written'[1] can be used while not initialized: it is initialized in the call to CIFSSMBWrite2[2] but that code may not be run whenever cifs_reopen_file fails with any error other than EAGAIN. In that case, it