checked sources of xorg-server 1.7.0 with static code analysis tool cppcheck

Thomas Dickey dickey at his.com
Sat Oct 3 05:43:29 PDT 2009


On Sat, 3 Oct 2009, Michel Dänzer wrote:

> What purpose is that? If these functions were actually called with a
> NULL PixmapPtr, surely the current code would have crashed with a
> segmentation fault.

I suppose that if you prefer the server to crash rather than check error
conditions, there's no point in the change.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


More information about the xorg-devel mailing list