Lasse Collin
278563ef8f
liblzma: Fix incorrect function type error from sanitizer
...
Clang 17 with -fsanitize=address,undefined:
src/liblzma/common/filter_common.c:366:8: runtime error:
call to function encoder_find through pointer to incorrect
function type 'const lzma_filter_coder *(*)(unsigned long)'
src/liblzma/common/filter_encoder.c:187: note:
encoder_find defined here
Use a wrapper function to get the correct type neatly.
This reduces the number of casts needed too.
This issue could be a problem with control flow integrity (CFI)
methods that check the function type on indirect function calls.
Fixes: 3b34851de1eaf358cf9268922fa0eeed8278d680
2024-04-30 22:22:45 +03:00
..
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-04-25 14:04:24 +03:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-04-30 22:22:45 +03:00
2024-02-14 18:31:16 +02:00
2024-04-30 22:22:45 +03:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-04-27 14:33:38 +03:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-03-22 17:46:30 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-04-25 14:04:24 +03:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-04-22 22:03:04 +03:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00
2024-02-14 18:31:16 +02:00