[openssl-dev] [openssl.org #4036] Invalid use of memcpy() causing decrypt failure
John Foley via RT
rt at openssl.org
Fri Sep 11 17:34:28 UTC 2015
We're seeing intermittent failures in the AES key wrap test cases in
test/evp_test in the 1.0.2d release. We believe the problem is due to
using memcpy() with overlapping src/dst memory regions. The following
thread provides some insight into this memcpy() issue:
https://bugzilla.redhat.com/show_bug.cgi?id=638477
The documentation for memcpy() states to use memmove() when the memory
regions overlap. The attached patch resolves the problem. Please
consider accepting this patch in the 1.0.2 stable and master branches.
Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aes_wrap_fix.patch
Type: text/x-patch
Size: 704 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20150911/b1899e18/attachment.bin>
-------------- next part --------------
_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
More information about the openssl-dev
mailing list