Re: [PATCH] ecryptfs: Fix explicit null dereference

From: Pekka Enberg
Date: Thu Nov 14 2013 - 13:51:07 EST


On Thu, Nov 14, 2013 at 8:42 PM, Geyslan G. Bem <geyslan@xxxxxxxxx> wrote:
> If the condition 'ecryptfs_file_to_private(file)' takes false branch
> lower_file is dereferenced when NULL.
>
> Caught by Coverity: CIDs 1128834 and 1128833.
>
> Signed-off-by: Geyslan G. Bem <geyslan@xxxxxxxxx>

Reviewed-by: Pekka Enberg <penberg@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/