Re: [PATCH] apply: fix access to an uninitialized mode variable, found by valgrind
- From
- Don Zickus <dzickus@redhat.com>
- Date
- Feb 4, 2009, 14:36 UTC
- Message-ID
- <20090204143634.GY3827@redhat.com>
- In-Reply-To
- <alpine.DEB.1.00.0902040249030.9822@pacific.mpi-cbg.de>
On Wed, Feb 04, 2009 at 02:50:15AM +0100, Johannes Schindelin wrote:
> When 'tpatch' was initialized successfully, st_mode was already taken > from the previous diff. We should not try to override it with data > from an lstat() that was never called.
heh, oops. thanks.
Acked-by: Don Zickus <dzickus@redhat.com>