2 Commits
2.9a ... 2.9

Author SHA1 Message Date
Nicholas Marriott
cb75ec25c8 2.9 now. 2019-04-24 22:35:23 +01:00
nicm
7d06216289 Do not loop forever if there is a nonprintable character in the format. 2019-04-24 22:34:56 +01:00
2 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# configure.ac # configure.ac
AC_INIT([tmux], 2.9-rc3) AC_INIT([tmux], 2.9)
AC_PREREQ([2.60]) AC_PREREQ([2.60])
AC_CONFIG_AUX_DIR(etc) AC_CONFIG_AUX_DIR(etc)

View File

@@ -837,7 +837,8 @@ format_trim_left(const char *expanded, u_int limit)
*out++ = *cp; *out++ = *cp;
width++; width++;
cp++; cp++;
} } else
cp++;
} }
*out = '\0'; *out = '\0';
return (copy); return (copy);
@@ -883,7 +884,8 @@ format_trim_right(const char *expanded, u_int limit)
*out++ = *cp; *out++ = *cp;
width++; width++;
cp++; cp++;
} } else
cp++;
} }
*out = '\0'; *out = '\0';
return (copy); return (copy);