KERNEL: check for NULL in LoadModule16
andi at rhlx01.fht-esslingen.de
Mon Aug 29 13:20:11 CDT 2005
On Mon, Aug 29, 2005 at 12:37:31PM -0500, Alex Villacís Lasso wrote:
> An old copy of Print Shop Deluxe Companion manages to supply a NULL as a
> name to be loaded by LoadLibrary16 --> LoadModule16 --> SIGSEGV. This
> patch adds a check to return ERROR_READ_FAULT instead of crashing.
> Alex Villacís Lasso
> * Add a NULL check in LoadModule16
Are you sure that Windows does that thing?
Somehow I really cannot imagine that during all these years this one has gone
(and is ERROR_READ_FAULT the correct error to return here?)
More information about the wine-devel