[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/6] Implement fallback for explicit_bzero using jump to vola
From: |
Bruno Haible |
Subject: |
Re: [PATCH 5/6] Implement fallback for explicit_bzero using jump to volatile pointer |
Date: |
Tue, 14 Apr 2020 00:46:02 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-174-generic; KDE/5.18.0; x86_64; ; ) |
Hi Bastien,
> +#else
> + static void * (* const volatile volatile_memset)(void *, int, size_t) =
> memset;
As I said, a non-static pointer should work as well.
> + (void) volatile_memset1(s, '\0', len);
Space before paren. (Coding style.)
Bruno
- [V3][0/6] explicit_bzero, roucaries . bastien, 2020/04/12
- [PATCH 1/6] Fix test in case of canaries on heap buffer after free, roucaries . bastien, 2020/04/12
- [PATCH 2/6] Use memset_s if possible for explicit_bzero, roucaries . bastien, 2020/04/12
- [PATCH 3/6] Use SecureZeroMemory on windows for explicit_bzero, roucaries . bastien, 2020/04/12
- [PATCH 4/6] Support clang for explicit_bzero, roucaries . bastien, 2020/04/12
- [PATCH 5/6] Implement fallback for explicit_bzero using jump to volatile pointer, roucaries . bastien, 2020/04/12
- Re: [PATCH 5/6] Implement fallback for explicit_bzero using jump to volatile pointer,
Bruno Haible <=
- [PATCH 6/6] Improve styling in explicit_bzero, roucaries . bastien, 2020/04/12