diff options
author | Dimitri Staessens <[email protected]> | 2021-11-27 15:49:46 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2021-12-06 17:51:55 +0100 |
commit | 4e8b6f726dab50865d7daded2299d0187184901f (patch) | |
tree | 7db60ecdf106398d5f966b98b7c26c0052d21474 /src/ipcpd/ipcp.c | |
parent | 697aacc07202debf88b582998e261cb68f06ae25 (diff) | |
download | ouroboros-4e8b6f726dab50865d7daded2299d0187184901f.tar.gz ouroboros-4e8b6f726dab50865d7daded2299d0187184901f.zip |
lib: Fix undefined behaviour in sha3
Arithmetic with NULL pointers is undefined behaviour. Caught by clang
13. Fixed by using uintptr_t, which is guaranteed to be the size of a
pointer.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/ipcp.c')
0 files changed, 0 insertions, 0 deletions