Coverity doing scans of Wine codebase!
tom at dbservice.com
Fri Apr 7 01:53:22 CDT 2006
Mike Hearn wrote:
> * Another (missing NULL ptr check in LoadTypeLibEx) is right, but, I don't
> think we want to add lots of missing NULL arg checks in the public API
> implementations. An application will never pass NULL to this function
> directly as otherwise it'd not work at all, so, a crash with a NULL arg
> here probably is revealing some other bug.
> I'd rather it crashed cleanly in a debuggable way than silently return
> error code and continue, in other words ...
Is there a way to tell the code checker to skip the NULL check? Maybe
there are flags like '__user' in the kernel source -- '__notnull'.
More information about the wine-devel