This patch is to a Mac-specific file only.  It fixes the write to address
location 0 (detected when EBBE of MacsBug is turned on).  The change is to
the file Randomizer.cpp

Replace line 389 of Randomizer.cpp
    
      GetNextProcess ((ProcessSerialNumber*) kNoProcess);

with


      data.psn.highLongOfPSN = 0; data.psn.lowLongOfPSN = kNoProcess;
      GetNextProcess (&data.psn);


Essentially, typecasting kNoProcess (which is zero) to a pointer, caused the
problem.  The solution was to put kNoProcess into a ProcessSerialNumber
variable and then perform the call.  This has apparently been in the
Mac-specific code for a very long time.  It took me quite a few days to
track this puppy down.

Brian Burton
BroadJump

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to