Re: [PATCH 1/1] wan/fsl_ucc_hdlc: avoid possible NULL pointer dereference

From: David Miller
Date: Mon Aug 01 2016 - 16:46:03 EST


From: Heinrich Schuchardt <xypron.glpk@xxxxxx>
Date: Sun, 31 Jul 2016 13:14:23 +0200

> All assignments to components of priv should only
> occur after the check if prif is NULL.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx>

Applied.