Ignore:
Timestamp:
Jun 12, 2001, 7:03:34 PM (24 years ago)
Author:
sandervl
Message:

LoadLibrary change: refuse to load non-Odin OS/2 dlls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/wprocess.cpp

    r5959 r5974  
    1 /* $Id: wprocess.cpp,v 1.123 2001-06-10 22:32:18 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.124 2001-06-12 17:03:34 sandervl Exp $ */
    22
    33/*
     
    826826            }
    827827            else
     828            if(fExeStarted) {
     829                OSLibDosFreeModule(hDll);
     830                SetLastError(ERROR_INVALID_EXE_SIGNATURE);
     831                dprintf(("Dll %s is not an Odin dll; unload & return failure", szModname));
     832                return 0;
     833            }
     834            else
    828835                return hDll; //happens when LoadLibrary is called in kernel32's initterm (nor harmful)
    829836
Note: See TracChangeset for help on using the changeset viewer.