[gnutls-devel] GnuTLS | x86/padlock: Use free() on local variables (#1094)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Sep 17 08:10:58 CEST 2020



zzjianhui created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1094



## Description of problem:
In hmac-padlock.c, Call wrap_padlock_hmac_deinit() in function wrap_padlock_hmac_fast() to release local variable ctx. We must remove the call to denit() to fix the crash. I create merge request.!1327

## Version of gnutls used:
current version

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Ubuntu20.4

## How reproducible:
When we use padlock sha512.

## Actual results:
On Zhaoxin CPU, run the make check command, a segmentation error will be displayed.[test-suite.log](/uploads/cc40265950b8e5d97f8c83ef23dfbe62/test-suite.log)

## Expected results:

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1094
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200917/6ac260fb/attachment-0001.html>


More information about the Gnutls-devel mailing list