ref: 2a3ee1c2e3e1ea6477ca8715bf1531dbf34367a1
parent: 28d4561613bceda26f93833333cdd3317d416243
parent: c7361cd72fa0032855b87f2a092cda0c750feb5a
author: ozan yigit <ozan.yigit@gmail.com>
date: Mon Oct 30 15:59:11 EDT 2023
Merge branch 'millert-substr_overflow' into staging
--- a/run.c
+++ b/run.c
@@ -985,7 +985,7 @@
if (a[2] != NULL)
z = execute(a[2]);
s = getsval(x);
- k = strlen(s) + 1;
+ k = u8_strlen(s) + 1;
if (k <= 1) {tempfree(x);
tempfree(y);
--
⑨