updated for version 7.3.573
Problem: Using array index before bounds checking.
Solution: Swap the parts of the condition. (Dominique Pelle)
diff --git a/src/ops.c b/src/ops.c
index 845211d..2c054d9 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -6458,7 +6458,7 @@
long chars = 0;
int is_word = 0;
- for (i = 0; line[i] && i < limit; )
+ for (i = 0; i < limit && line[i] != NUL; )
{
if (is_word)
{
diff --git a/src/version.c b/src/version.c
index d424af7..ebe1988 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 573,
+/**/
572,
/**/
571,