NULL ptr dereferences found with Calysto static checker

Tom Spear speeddymon at gmail.com
Thu Jun 21 12:40:28 CDT 2007


On 6/21/07, James Hawkins <truiken at gmail.com> wrote:
> > On 6/21/07, Michael Stefaniuc <mstefani at redhat.com> wrote:
> > > The problem with NULL pointer dereferences is that those may be valid.
> > > If a function crashes in Windows on a NULL pointer dereference Wine
> > > should/has do the same.
> >
> > Why?
>
> Several apps depend on these 'bugs'.

This is true, many applications are written to work around bugs in
windows.  If we fix these bugs, then the apps dont have anything to
work around, and therefore they do unexpected things....

> > Wine is meant to run software "written for windows". I doubt that
> > many people use Wine as a platform to write software intended for windows.
> > So, if you run all the applications the Windows run, just better, what's wrong
> > with that?
> >
>
> If we don't conform to the API, it's not better.  Like I said before,
> we've run into bugs where an app is expecting an exception, and it
> won't work if it doesn't get it.

See above


-- 
Thanks

Tom



More information about the wine-devel mailing list