External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
948B

  1. From: Matthew Vernon <matthew@debian.org>
  2. Date: Thu, 30 Nov 2017 15:37:30 +0000
  3. X-Dgit-Generated: 2:8.39-6 a1c9961364820d491470bba8fb48bf51b0c56895
  4. Subject: Patch from MariaDB to fix stack frame size detection
  5. This comes via Ondřej Surý <ondrej@debian.org> in #878107. Upstream
  6. don't consider it sufficiently important to fix, but it is causing us
  7. issues.
  8. ---
  9. --- pcre3-8.39.orig/pcre_exec.c
  10. +++ pcre3-8.39/pcre_exec.c
  11. @@ -509,6 +509,12 @@ Returns: MATCH_MATCH if matched
  12. (e.g. stopped by repeated call or recursion limit)
  13. */
  14. +#ifdef __GNUC__
  15. +static int
  16. +match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode,
  17. + PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb,
  18. + unsigned int rdepth) __attribute__((noinline,noclone));
  19. +#endif
  20. static int
  21. match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode,
  22. PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb,