1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-10 23:02:54 +03:00
Files
mariadb/strings/my_vsnprintf.c
Daniel Black 9059385262 MDEV-37048 revert MSAN my_vsnprintf_ex for double workaround
5 years ago e843033d02 worked around a
MSAN bug when retrieving a double from a va_list.

The construct {{__msan_check_mem_is_initialized(ap,size)}} where ap
is a va_list is undefined as {{__msan_check_mem_is_initialized}}
expects a pointer. The implementation detail of va_list is architecture
dependant and on aarch64 this isn't a pointer.

The need to any msan action is no unnecessary since this has been
corrected in recent clang versions.

As such the additions from e843033d02
have been reverted.

Tested with clang-20.1 and the test cases from MDEV-22690 and
MDEV-22691.
2025-07-03 10:43:40 +03:00

24 KiB