1
0
Fork 0
libreoffice/external/epm/asan.patch.0
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

16 lines
344 B
Text

--- dist.c
+++ dist.c
@@ -405,7 +405,12 @@
for (temp = platform->machine; *temp != '\0'; temp ++)
if (*temp == '-' || *temp == '_')
{
- strcpy(temp, temp + 1);
+ char * t2 = temp;
+ for (;; ++t2) {
+ char c = t2[1];
+ t2[0] = c;
+ if (c == '\0') break;
+ }
temp --;
}
else