liboqs icon indicating copy to clipboard operation
liboqs copied to clipboard

Handle out-of-memory errors gracefully

Open SWilson4 opened this issue 1 year ago • 0 comments

Currently, we handle malloc failures in common code by immediately exiting with a nonzero return code. It could be a good idea to give the program a chance to clear secrets out of memory before exiting.

Related older issue: #1456.

SWilson4 avatar Feb 23 '24 13:02 SWilson4