KERNEL: check for NULL in LoadModule16

Alex Villací­s Lasso a_villacis at palosanto.com
Mon Aug 29 12:37:31 CDT 2005


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

Changelog:
* Add a NULL check in LoadModule16

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-kernel-ne_module-check-libname_2.patch
Type: text/x-patch
Size: 367 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050829/e4c67c59/wine-kernel-ne_module-check-libname_2.bin


More information about the wine-patches mailing list