[Resend: PATCH] dmxConfigCanvasUpdate: Delay dereference until after checking for NULL

Alan Coopersmith alan.coopersmith at oracle.com
Mon Apr 21 15:18:01 PDT 2014


On 04/21/14 01:18 PM, Keith Packard wrote:
> 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>
>
> Something is screwy with this patch -- git says:
>
> Applying: dmxConfigCanvasUpdate: Delay dereference until after checking for NULL
> fatal: corrupt patch at line 16

Sorry, that's what I get for using thunderbird to resend from my mail
folder - I'll redo with git send-email.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list