]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ota: Merge one true awk 20240422 (a3b68e649d2d)
authorWarner Losh <imp@FreeBSD.org>
Sat, 4 May 2024 21:50:33 +0000 (15:50 -0600)
committerWarner Losh <imp@FreeBSD.org>
Sat, 4 May 2024 21:50:33 +0000 (15:50 -0600)
commit1023317ac491090f8d84a62999ffc303cf88528c
treef968e4dc9c4ac4df2e6984bf4189c633f0e2360d
parent4fc5f321bac9b33c6163dedb98108e9755fa284c
parent1c25f3fdf3e6b8b2708d5751a9c8f07a117910c6
ota: Merge one true awk 20240422 (a3b68e649d2d)

Apr 22, 2024:
fixed regex engine gototab reallocation issue that was
introduced during the Nov 24 rewrite. Thanks to Arnold Robbins.
Fixed a scan bug in split in the case the separator is a single
character. thanks to Oguz Ismail for spotting the issue.

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.

Sponsored by: Netflix
14 files changed:
contrib/one-true-awk/ChangeLog
contrib/one-true-awk/FIXES
contrib/one-true-awk/awk.1
contrib/one-true-awk/awk.h
contrib/one-true-awk/awkgram.y
contrib/one-true-awk/b.c
contrib/one-true-awk/bugs-fixed/REGRESS
contrib/one-true-awk/bugs-fixed/system-status.ok2
contrib/one-true-awk/lex.c
contrib/one-true-awk/main.c
contrib/one-true-awk/maketab.c
contrib/one-true-awk/parse.c
contrib/one-true-awk/proto.h
contrib/one-true-awk/run.c