winpos.c & module.c - minor ms-windows compatibility
Dimitrie O. Paun
dimi at intelliware.ca
Mon Mar 22 10:12:07 CST 2004
On Mon, 22 Mar 2004, Boaz Harrosh wrote:
> module.c
> GetProcAdress will not "Fly" on a NULL module. It will Just return
> with Error set to ERROR_PROC_NOT_FOUND (127).
> Actually, I did a little check, On ms-windows any garbage HMODULE will
> Just Return an error. Is there a ValidPointer/magic_number check we can
> do before we "fly" here.
A small test in dlls/kernel/tests/*.c for this would be perfect.
In general, it's better to submit such a test, rather than write
a throw-away one on your box only.
--
Dimi.
More information about the wine-devel
mailing list