aboutsummaryrefslograw-logtreecommitdiffstats up
diff options
context:
space:
mode:
-rw-r--r--FIXES[diff] [file]6
-rw-r--r--main.c[diff] [file]2
2 files changed, 7 insertions, 1 deletions
diff --git a/FIXES b/FIXES
index c8a8e11..6200cb0 100644
--- a/FIXES
+++ b/FIXES
@@ -25,6 +25,12 @@ THIS SOFTWARE.
This file lists all bug fixes, changes, etc., made since the
second edition of the AWK book was published in September 2023.
+Apr 26, 2026
+ regex fixes: limit the repetition count to 255 like
+ POSIX does to prevent signed integer overflow.
+ prevent a crash when the repetition is the first atom parsed
+ Thanks to Renaud Allard an Todd Miller.
+
Dec 24, 2025
Previously changed and broken rand() implementation
restored in run.c with a variant thanks to Henry Spencer.
diff --git a/main.c b/main.c
index 9d2c1ca..e8afdd0 100644
--- a/main.c
+++ b/main.c
@@ -22,7 +22,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
****************************************************************/
-const char *version = "version 20251225";
+const char *version = "version 20260426";
#define DEBUG
#include <stdio.h>
This site is maintained by Jamie Landeg-Jones <jamie@catflap.org>, and is not an official FreeBSD project, nor is it endorsed by the FreeBSD team.