On Thu, Jun 25, 2009 at 03:59:32PM +1000, Russell Coker wrote: > Package: libssl0.9.8 > Version: 0.9.8g-15+lenny1 > Severity: normal > > ==32465== Possible data race during write of size 4 at 0x55D7CE8 > ==32465== at 0x52CD88D: CRYPTO_malloc (mem.c:298) > ==32465== by 0x534AC75: asn1_item_ex_combine_new (tasn_new.c:191) > ==32465== by 0x534E184: ASN1_item_ex_d2i (tasn_dec.c:399) > ==32465== by 0x534E253: ASN1_item_d2i (tasn_dec.c:134) > ==32465== by 0x5344B7E: d2i_PUBKEY (x_pubkey.c:388) > ==32465== by 0x40D580: SelectorInfo::Parse(char*) (dkimverify.cpp:1312) > > Above is a helgrind error I get on my AMD64 system. > > http://etbe.coker.com.au/2009/06/22/valgrindhelgrind-and-stl-string/ > > Below is a patch I wrote which appears to solve this problem. According to > the comments on my above blog post it seems possible that this patch will also > slightly improve performance on SMP systems when under heavy load.
Thanks for the patch. I will look into it shortly. Kurt -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

