Windows XP Service Pack 3
OpenSSL version 1.0.0a 1 Jun 2010

C:\openssl-1.0.0a\out32dll>openssl s_server
Loading 'screen' into random state - done
Using default temp DH parameters
Using default temp ECDH parameters  After this message I get a pop a window 
saying openssl has encountered a problem and needs to close.

static void nist_cp_bn(BN_ULONG *buf, BN_ULONG *a, int top)
{ 
    int i;
    BN_ULONG *_tmp1 = (buf), *_tmp2 = (a);


    for (i = (top); i != 0; i--)
        *_tmp1++ = *_tmp2++;

}

The debugger has the following information

*_tmp1 = 0
i = 8
top = 8

Unhandled exception at 0x0049f836 (libeay32.dll) in openssl.exe: 0xC0000005: 
Access violation reading location 0x00000001.





Here is the call stack

> libeay32.dll!nist_cp_bn(unsigned int * buf=0x00abcf98, unsigned int * 
> a=0x00000001, int top=8)  Line 308 + 0x6 C
  libeay32.dll!BN_nist_mod_256(bignum_st * r=0x00aba9e8, const bignum_st * 
a=0x00aba9e8, const bignum_st * field=0x00569614, bignum_ctx * ctx=0x003cb468)  
Line 641 + 0xf C
  libeay32.dll!ec_GFp_nist_field_mul(const ec_group_st * group=0x00abd308, 
bignum_st * r=0x00aba9e8, const bignum_st * a=0x00abdc88, const bignum_st * 
b=0x00abd5e4, bignum_ctx * ctx=0x003cb468)  Line 176 + 0x1c C
  libeay32.dll!ec_GFp_simple_points_make_affine(const ec_group_st * 
group=0x00abd308, unsigned int num=4, ec_point_st * * points=0x00aba770, 
bignum_ctx * ctx=0x003cb468)  Line 1649 + 0x2e C
  libeay32.dll!EC_POINTs_make_affine(const ec_group_st * group=0x00abd308, 
unsigned int num=4, ec_point_st * * points=0x00aba770, bignum_ctx * 
ctx=0x003cb468)  Line 1108 + 0x18 C
  libeay32.dll!ec_wNAF_mul(const ec_group_st * group=0x00abd308, ec_point_st * 
r=0x00abd410, const bignum_st * scalar=0x00aba750, unsigned int num=0, const 
ec_point_st * * points=0x0012f958, const bignum_st * * scalars=0x0012f95c, 
bignum_ctx * ctx=0x003cb468)  Line 647 + 0x15 C
  libeay32.dll!EC_POINTs_mul(const ec_group_st * group=0x00abd308, ec_point_st 
* r=0x00abd410, const bignum_st * scalar=0x00aba750, unsigned int num=0, const 
ec_point_st * * points=0x0012f958, const bignum_st * * scalars=0x0012f95c, 
bignum_ctx * ctx=0x003cb468)  Line 1123 + 0x21 C
  libeay32.dll!EC_POINT_mul(const ec_group_st * group=0x00abd308, ec_point_st * 
r=0x00abd410, const bignum_st * g_scalar=0x00aba750, const ec_point_st * 
point=0x00000000, const bignum_st * p_scalar=0x00000000, bignum_ctx * 
ctx=0x003cb468)  Line 1139 + 0x3d C
  libeay32.dll!EC_KEY_generate_key(ec_key_st * eckey=0x00abd008)  Line 275 + 
0x1c C
  ssleay32.dll!ssl3_ctx_ctrl(ssl_ctx_st * ctx=0x00abc508, int cmd=4, long 
larg=0, void * parg=0x00abad20)  Line 2648 + 0x9 C
  ssleay32.dll!SSL_CTX_ctrl(ssl_ctx_st * ctx=0x00abc508, int cmd=4, long 
larg=0, void * parg=0x00abad20)  Line 1171 + 0x18 C
  openssl.exe!s_server_main(int argc=0, char * * argv=0x003c2598)  Line 1565 + 
0x17 C
  openssl.exe!do_cmd(lhash_st_FUNCTION * prog=0x00ab6210, int argc=1, char * * 
argv=0x003c2594)  Line 413 + 0xe C
  openssl.exe!main(int Argc=1, char * * Argv=0x003c2594)  Line 312 + 0x14 C
  openssl.exe!mainCRTStartup()  Line 398 + 0xe C
  kernel32.dll!7c817077()  



Reply via email to