aboutsummaryrefslograw-logtreecommitdiffstats up
diff options
context:
space:
mode:
authorozan yigit <ozan.yigit@gmail.com>2026-04-26 20:42:14 +0100
committerozan yigit <ozan.yigit@gmail.com>2026-04-26 20:42:14 +0100
commit5739fd79bcfc75ba7526773d0cf634521f8aca3c (patch) (diff)
tree8f03c05928e8b6118d661d680622b8cecc04da95
downloadonetrueawk-master.tar.gz
 
previous commit11b1b8ba71b60b4543d28e992c2a04a1163d4b5e (Allard/Millert regex fixes)
-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.