mirror of
https://github.com/tmux/tmux.git
synced 2026-03-12 19:45:46 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25cae5d86f | ||
|
|
d0ad34e94d | ||
|
|
a10c4c60cb | ||
|
|
846b99e0cb | ||
|
|
6a33a12798 |
10
CHANGES
10
CHANGES
@@ -1,3 +1,13 @@
|
|||||||
|
CHANGED FROM 3.1b TO 3.1c
|
||||||
|
|
||||||
|
* Fix a stack overflow on colon-separated CSI parsing.
|
||||||
|
|
||||||
|
CHANGES FROM 3.1a TO 3.1b
|
||||||
|
|
||||||
|
* Fix build on systems without sys/queue.h.
|
||||||
|
|
||||||
|
* Fix crash when allow-rename is on and an empty name is set.
|
||||||
|
|
||||||
CHANGES FROM 3.1 TO 3.1a
|
CHANGES FROM 3.1 TO 3.1a
|
||||||
|
|
||||||
* Do not close stdout prematurely in control mode since it is needed to print
|
* Do not close stdout prematurely in control mode since it is needed to print
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# configure.ac
|
# configure.ac
|
||||||
|
|
||||||
AC_INIT([tmux], 3.1a)
|
AC_INIT([tmux], 3.1c)
|
||||||
AC_PREREQ([2.60])
|
AC_PREREQ([2.60])
|
||||||
|
|
||||||
AC_CONFIG_AUX_DIR(etc)
|
AC_CONFIG_AUX_DIR(etc)
|
||||||
|
|||||||
1
file.c
1
file.c
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/queue.h>
|
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|||||||
9
input.c
9
input.c
@@ -1929,8 +1929,13 @@ input_csi_dispatch_sgr_colon(struct input_ctx *ictx, u_int i)
|
|||||||
free(copy);
|
free(copy);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else
|
} else {
|
||||||
n++;
|
n++;
|
||||||
|
if (n == nitems(p)) {
|
||||||
|
free(copy);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
log_debug("%s: %u = %d", __func__, n - 1, p[n - 1]);
|
log_debug("%s: %u = %d", __func__, n - 1, p[n - 1]);
|
||||||
}
|
}
|
||||||
free(copy);
|
free(copy);
|
||||||
@@ -2304,7 +2309,7 @@ input_exit_rename(struct input_ctx *ictx)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (ictx->input_len == 0) {
|
if (ictx->input_len == 0) {
|
||||||
oe = options_get(wp->window->options, "automatic-rename");
|
oe = options_get_only(wp->window->options, "automatic-rename");
|
||||||
if (oe != NULL)
|
if (oe != NULL)
|
||||||
options_remove(oe);
|
options_remove(oe);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user