Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / external / libvisio / ubsan.patch
blob7bba63fda7a19a3a6eff0e8ecf087037643110a4
1 --- src/lib/VSDContentCollector.cpp
2 +++ src/lib/VSDContentCollector.cpp
3 @@ -3220,7 +3220,7 @@
5 if (U_SUCCESS(status) && conv)
7 - const char *src = (const char *)&characters[0];
8 + const char *src = (const char *)characters.data();
9 const char *srcLimit = (const char *)src + characters.size();
10 while (src < srcLimit)