Page MenuHome GnuPG

secmem fix
AbandonedPublic

Authored by gniibe on Jun 1 2017, 2:13 PM.

Details

Reviewers
werner
Summary

secmem implementation has two bugs:
(1) Under some heavy use, it gets SEGV.
(2) Calculation of allocated memory is wrong.

I think this patch fixes these two problems.

Test Plan

Diff Detail

Repository
rC libgcrypt
Lint
Lint Skipped
Unit
Unit Tests Skipped