Page MenuHome GnuPG

627_0001-secmem-When-clearing-memory-don-t-clear-beyond-the-e.patch
AbandonedPublic

Authored by neal on Jun 5 2015, 5:32 AM.

Details

Reviewers
None
Summary

From af99c873c527b59a3de79bf294059ffe3fe8f2e3 Mon Sep 17 00:00:00 2001
From: "Neal H. Walfield" <neal@gnu.org>
Date: Fri, 5 Jun 2015 05:29:03 +0200
Subject: [PATCH] secmem: When clearing memory, don't clear beyond the end of
the buffer.

  • secmem/secmem.c (secmem_malloc): Only clear the user memory; don't

clear beyond the end of the buffer.

secmem/secmem.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

2.1.4

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped