Re: [openssl.org #821] Patch for bn_div_words on x86_64

2004-02-10 Thread A.O.Prokofiev via RT
Hi! Actually, this function was called: I've got exception in gnomemeeting program (which uses TLS functionality). This bug existed only when compiled with asm optimizations and for x86_64. On Saturday 07 February 2004 13:06, Andy Polyakov via RT wrote: > > Fixed, thank you. For reference. The

[openssl.org #821] Patch for bn_div_words on x86_64

2004-02-07 Thread Andy Polyakov via RT
Fixed, thank you. For reference. The bug "survived" so far, because function in question is never called [divq instruction is inlined in bn_div.c]. A. __ OpenSSL Project http://www.openssl.org Deve

[openssl.org #821] Patch for bn_div_words on x86_64

2004-02-06 Thread A.O.Prokofiev via RT
Hi! There is a problem in openssl-0.9.7c in asm version of bn_div_words function for x86_64 cpus (file crypto/bn/asm/x86_64-gcc.c). This could lead to arithmetic exceptions and incorrect work. This patch should deal with the problem: diff -ur openssl-0.9.7c/crypto/bn/asm/x86_64-gcc.c /tmp/o