Fixing crashes in Tests (OS version check)

Juan Lang juan.lang at gmail.com
Sat May 31 13:51:51 CDT 2008


> An example of one that fails is
> ret = SnmpUtilOidToA(NULL);
> Under win98, this function is valid to call, but will crash if you call
> it will a NULL parameter.  I don't think removing this test a good idea,
> since we are setting XP as a base, at this passes.

I disagree that the test shouldn't be removed.  The tests are meant to
show Windows behavior that apps are likely to expect.  Since the apps
will crash if they pass NULL to SnmpUtilOidToA, it's reasonable to
expect that they will not.  Unless there's an app that depends on
being able to do so, removing the test seems more sensible as it means
we'll get better test coverage on Win98.

--Juan



More information about the wine-devel mailing list