diff options
author | Matthew Vernon <matthew@debian.org> | 2017-11-30 15:40:58 +0000 |
---|---|---|
committer | Matthew Vernon <matthew@debian.org> | 2017-11-30 15:40:58 +0000 |
commit | 3e24cea3687cec59049942e4398d67f98d5c5012 (patch) | |
tree | aafe4934c6cd64860d213f9ecb1cc7e78c0cbbec | |
parent | 8079546f7a637979e52deaea6e147d984989bd83 (diff) |
Commit Debian 3.0 (quilt) metadatadebian/2%8.39-6archive/debian/2%8.39-6
[dgit (3.11~deb9u1) quilt-fixup]
-rw-r--r-- | debian/patches/patch-from-mariadb-to-fix-stack-frame-si | 26 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/patch-from-mariadb-to-fix-stack-frame-si b/debian/patches/patch-from-mariadb-to-fix-stack-frame-si new file mode 100644 index 0000000..3f6d7e3 --- /dev/null +++ b/debian/patches/patch-from-mariadb-to-fix-stack-frame-si @@ -0,0 +1,26 @@ +From: Matthew Vernon <matthew@debian.org> +Date: Thu, 30 Nov 2017 15:37:30 +0000 +X-Dgit-Generated: 2:8.39-6 a1c9961364820d491470bba8fb48bf51b0c56895 +Subject: Patch from MariaDB to fix stack frame size detection + +This comes via Ondřej Surý <ondrej@debian.org> in #878107. Upstream +don't consider it sufficiently important to fix, but it is causing us +issues. + +--- + +--- pcre3-8.39.orig/pcre_exec.c ++++ pcre3-8.39/pcre_exec.c +@@ -509,6 +509,12 @@ Returns: MATCH_MATCH if matched + (e.g. stopped by repeated call or recursion limit) + */ + ++#ifdef __GNUC__ ++static int ++match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode, ++ PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb, ++ unsigned int rdepth) __attribute__((noinline,noclone)); ++#endif + static int + match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode, + PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb, diff --git a/debian/patches/series b/debian/patches/series index 517fc16..6b773a6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ no_jit_x32_powerpcspe.patch Disable_JIT_on_sparc64.patch CVE-2017-6004.patch upstream-fix-for-cve-2017-7186-upstream- +patch-from-mariadb-to-fix-stack-frame-si |