Re: [PATCH 2/2] Implement fallback for explicit_bzero using jump to volatile pointer

2021-01-23 Thread Bruno Haible
> +#else > + void * (* const volatile volatile_memset)(void *, int, size_t) = memset; > + (void) volatile_memset (s, '\0', len); > #endif > } Thanks. I applied this, adding a comment and a gnulib-style ChangeLog entry. Bruno

[PATCH 2/2] Implement fallback for explicit_bzero using jump to volatile pointer

2021-01-23 Thread roucaries . bastien
From: Bastien Roucariès Signed-off-by: Bastien Roucariès --- lib/explicit_bzero.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/explicit_bzero.c b/lib/explicit_bzero.c index 71a1cca3b0..c39f20164b 100644 --- a/lib/explicit_bzero.c +++ b/lib/explicit_bzero.c @@

[PATCH 2/2] Implement fallback for explicit_bzero using jump to volatile pointer

2021-01-23 Thread roucaries . bastien
From: Bastien Roucariès Signed-off-by: Bastien Roucariès --- lib/explicit_bzero.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/explicit_bzero.c b/lib/explicit_bzero.c index 71a1cca3b0..86a5fd35d7 100644 --- a/lib/explicit_bzero.c +++ b/lib/explicit_bzero.c @@