rdmenezes / wvstreams

Automatically exported from code.google.com/p/wvstreams
0 stars 0 forks source link

Bug in WvX509Mgr's get_extension #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Under certain circumstances, WvX509Mgr::get_extension leads to memory
corruption. This appears to be because ASN1_item_d2i seems to modify its
second parameter (even though it's const), which in our case is a member of
the original X509 struct. When we try to free this struct (usually on
destruction of WvX509Mgr), everything goes to hell.

Original issue reported on code.google.com by wrl...@gmail.com on 7 Mar 2007 at 9:06

GoogleCodeExporter commented 9 years ago
Fixed in my branch. Will be merged into trunk at some point in the near future.

Original comment by wrl...@gmail.com on 8 Mar 2007 at 10:30

GoogleCodeExporter commented 9 years ago
Apparently this behaviour is expected:

http://groups.google.com/group/mailing.openssl.users/browse_thread/thread/28cb82
c5c4d76380/3c825036e11bbef4#3c825036e11bbef4

Original comment by wrl...@gmail.com on 13 Mar 2007 at 8:53