29 Aug
2005
29 Aug
'05
6:20 p.m.
Hi, 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
Changelog: * 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 unnoticed... (and is ERROR_READ_FAULT the correct error to return here?) Thanks, Andreas Mohr