[PATCH] dmxConfigCanvasUpdate: Delay dereference until after checking for NULL
Keith Packard
keithp at keithp.com
Mon Apr 21 20:54:51 PDT 2014
Alan Coopersmith <alan.coopersmith at oracle.com> writes:
> Flagged by cppcheck 1.64:
> [hw/dmx/config/xdmxconfig.c:306] -> [hw/dmx/config/xdmxconfig.c:323]:
> (warning) Possible null pointer dereference: fs - otherwise
> it is redundant to check it against null.
>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed and merged:
983e303..935ea0d master -> master
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140421/1b6a5faa/attachment.sig>
More information about the xorg-devel
mailing list