<short summary of the patch>
authorCamm Maguire <camm@debian.org>
Sun, 13 Nov 2022 12:55:14 +0000 (12:55 +0000)
committerCamm Maguire <camm@debian.org>
Sun, 13 Nov 2022 12:55:14 +0000 (12:55 +0000)
Bug-Debian: https://bugs.debian.org/965543

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

gcl (2.6.12-97) unstable; urgency=medium

  * Bug fix: "Removal of obsolete debhelper compat 5 and 6 in bookworm",
    thanks to Niels Thykier (Closes: #965543).
  * Version_2.6.13pre93

Gbp-Pq: Name Version_2_6_13pre94

o/regexpr.c

index 669776b81ccc905d207649471cc2bfc70ed802bf..4afb957119c775e50102da0df1fe50a52fd0e3e1 100755 (executable)
@@ -157,7 +157,7 @@ be over written.   \
 
 
      str=string->st.st_self;
-     if (str+end==(void *)core_end || str+end==(void *)compiled_regexp) {
+     if (NULL_OR_ON_C_STACK(str+end) || str+end==(void *)compiled_regexp) {
 
        if (!(str=alloca(string->st.st_fillp+1)))
         FEerror("Cannot allocate memory on C stack",0);