[PATCH] xfs: bulletfproof xfs_qm_scall_trunc_qfiles()
Christoph Hellwig
hch at infradead.org
Tue Apr 22 01:27:36 CDT 2014
On Mon, Apr 21, 2014 at 03:45:08PM -0500, Eric Sandeen wrote:
> Coverity noticed that if we sent junk into
> xfs_qm_scall_trunc_qfiles(), we could get back an
> uninitialized error value. So sanitize the flags we
> will accept, and initialize error anyway for good measure.
>
> (This bug may have been introduced via c61a9e39).
>
> Should resolve Coverity CID 1163872.
>
> Signed-off-by: Eric Sandeen <sandeen at redhat.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list