summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-09-06 13:16:06 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-09-06 13:19:03 +0200
commit5d711972b881f8fa79a8ba4605a39a0d0bf4d9e4 (patch)
tree94450fda39ac47ebcf646263fc9a2ef218a9b95e
parent0d8407440c6514795e1fc055062002b731c5f209 (diff)
parentdcdd119f69e63a47baff20d3c33778f7ad08b348 (diff)
downloadbison-5d711972b881f8fa79a8ba4605a39a0d0bf4d9e4.tar.gz
Merge branch 'maint' (i.e., Bison 3.7.2)
* upstream/maint: maint: post-release administrivia version 3.7.2 build: disable syntax-check warning gnulib: update build: fix incorrect dependencies doc: updates gnulib: update tests: beware of sed portability issues
-rw-r--r--.prev-version2
-rw-r--r--NEWS26
-rw-r--r--TODO10
-rw-r--r--cfg.mk1
-rw-r--r--doc/local.mk2
m---------gnulib0
6 files changed, 37 insertions, 4 deletions
diff --git a/.prev-version b/.prev-version
index a76ccff2..0b2eb36f 100644
--- a/.prev-version
+++ b/.prev-version
@@ -1 +1 @@
-3.7.1
+3.7.2
diff --git a/NEWS b/NEWS
index 5f869f12..b155644b 100644
--- a/NEWS
+++ b/NEWS
@@ -33,6 +33,29 @@ GNU Bison NEWS
↳ • ↳ ε
+* Noteworthy changes in release 3.7.2 (2020-09-05) [stable]
+
+ This release of Bison fixes all known bugs reported for Bison in MITRE's
+ Common Vulnerabilities and Exposures (CVE) system. These vulnerabilities
+ are only about bison-the-program itself, not the generated code.
+
+ Although these bugs are typically irrelevant to how Bison is used, they
+ are worth fixing if only to give users peace of mind.
+
+ There is no known vulnerability in the generated parsers.
+
+** Bug fixes
+
+ Fix concurrent build issues (introduced in Bison 3.5).
+
+ Push parsers always use YYMALLOC/YYFREE (no direct calls to malloc/free).
+
+ Fix portability issues of the test suite, and of bison itself.
+
+ Some unlikely crashes found by fuzzing have been fixed. This is only
+ about bison itself, not the generated parsers.
+
+
* Noteworthy changes in release 3.7.1 (2020-08-02) [stable]
** Bug fixes
@@ -587,7 +610,8 @@ GNU Bison NEWS
\005) with incorrect styling. Fixes for similar issues with unexpectedly
short lines (e.g., the file was changed between parsing and diagnosing).
- Several unlikely crashes found by fuzzing have been fixed.
+ Some unlikely crashes found by fuzzing have been fixed. This is only
+ about bison itself, not the generated parsers.
* Noteworthy changes in release 3.5.2 (2020-02-13) [stable]
diff --git a/TODO b/TODO
index 5c3210d2..eecde20a 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,12 @@
-* Bison 3.7
+* Soon
+** gnulib
+Bruno notes:
+
+> I haven't looked deeply, but it strikes me that gnulib/lib/bitset/array.c
+> does not make use of the 'ffsl' function, nor or the 'integer_length_l'
+> function. Maybe because in Bison, all bitsets are so dense that it does
+> not give a performance advantage?
+
** Cex
*** Improve gnulib
Don't do this (counterexample.c):
diff --git a/cfg.mk b/cfg.mk
index 2a1b0831..114aa814 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -156,6 +156,7 @@ exclude = \
$(call exclude, \
bindtextdomain=^lib/main.c$$ \
cast_of_argument_to_free=^src/muscle-tab.c$$ \
+ error_message_uppercase=etc/bench.pl.in$$ \
po_check=^tests|(^po/POTFILES.in|.md)$$ \
preprocessor_indentation=^data/|^lib/|^src/parse-gram.[ch]$$ \
program_name=^lib/main.c$$ \
diff --git a/doc/local.mk b/doc/local.mk
index ab5b7454..f5590015 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -57,7 +57,7 @@ MAINTAINERCLEANFILES = $(CROSS_OPTIONS_TEXI)
# Fix Info's @code in @deftype
# https://lists.gnu.org/archive/html/help-texinfo/2019-11/msg00004.html
-all: $(srcdir)/$(%C%_bison).info.bak
+all-local: $(srcdir)/$(%C%_bison).info.bak
$(srcdir)/$(%C%_bison).info.bak: $(srcdir)/$(%C%_bison).info
$(AM_V_GEN) $(PERL) -pi.bak -0777 \
-e 's{(^ --.*\n(?: {10}.*\n)*)}' \
diff --git a/gnulib b/gnulib
-Subproject 175e0bc72808d564074c4adcc72aeadb74adfcc
+Subproject a83f488ba4eb1ce8fd072bf087e87aca6ab1ee7