diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /external/epm/asan.patch.0 | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'external/epm/asan.patch.0')
-rw-r--r-- | external/epm/asan.patch.0 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/external/epm/asan.patch.0 b/external/epm/asan.patch.0 new file mode 100644 index 000000000..b17ac26be --- /dev/null +++ b/external/epm/asan.patch.0 @@ -0,0 +1,16 @@ +--- 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 |