shithub: trueawk

Download patch

ref: b1d9d2818b21df8234d305b91d2c8e21bea78b6b
parent: 77c8ffa70db4e9819881ec676d3f13f550d02055
author: ozan yigit <ozan.yigit@gmail.com>
date: Mon Mar 11 15:54:10 EDT 2024

updated.

--- a/FIXES
+++ b/FIXES
@@ -25,6 +25,14 @@
 This file lists all bug fixes, changes, etc., made since the 
 second edition of the AWK book was published in September 2023.
 
+Mar 10, 2024:
+	fixed use-after-free bug in fnematch due to adjbuf invalidating
+	the pointers to buf. thanks to github user caffe3 for spotting
+	the issue and providing a fix, and to Miguel Pineiro Jr.
+	for the alternative fix.
+	MAX_UTF_BYTES in fnematch has been replaced with awk_mb_cur_max.
+	thanks to Miguel Pineiro Jr.
+
 Jan 22, 2024:
 	Restore the ability to compile with g++. Thanks to
 	Arnold Robbins.
--