mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
65121bdd60
Initialize all Bigint pointer variables to NULL to prevent use of uninitialized values Replace direct `return (STRTOG_NoMemory)` statements with `goto cleanup_and_return_nomem` to ensure proper resource cleanup Add cleanup label with Bfree calls to release all allocated Bigint resources before returning --------- Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>