You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems so -- but I've got to admit we don't have a test case for that, so you may very well have hit on a problem.
Would you be willing to add test case and fix proposal via PR?
However, I'm not entirely convinced that your change is the correct fix; I have the hunch that the allocation in OSSL_PARAM_get_octet_string is the probable culprit (with openssl core managing the memory and not oqsprovider. But let's see when we add the test case, e.g., to any of the command line tests triggered by "scripts/runtests.sh").
Describe the bug
I tried using the context-string feature recently added to oqs-provider. Here's the OpenSSL command I executed:
However, the command resulted in the following error and abnormal termination:
Is this the correct way to use the feature?
To Reproduce
Steps to reproduce the behavior:
Suggested Fix
I modified the code as follows, and the "double free detected" issue no longer occurred:
This fix comments out the deallocation of
ctx->context_string
.Environment
The text was updated successfully, but these errors were encountered: