bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Improve explicit_bzero


From: Bruno Haible
Subject: Re: [patch] Improve explicit_bzero
Date: Sun, 12 Apr 2020 01:07:22 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-174-generic; KDE/5.18.0; x86_64; ; )

Hi Bastien,

> [PATCH 1/5] Use memset_s if possible for explicit_bzero
> [PATCH 2/5] Use SecureZeroMemory on windows for explicit_bzero
> [PATCH 3/5] Support clang for explicit_bzero
> [PATCH 4/5] Use volatile trick for explicit_bzero

With the added complexity of this module, especially with the different
code paths taken on the different platforms, it will be useful to have a
unit test module.

I run "make check" of a gnulib testdir of all gnulib on various platforms,
every now and then. If there's a problem on some platform, the unit test
would permit to detect it.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]