mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
tmux: update to 3.1c.
This commit is contained in:
parent
3821d38eff
commit
f1df88507a
2 changed files with 3 additions and 33 deletions
|
@ -1,30 +0,0 @@
|
||||||
From a868bacb46e3c900530bed47a1c6f85b0fbe701c Mon Sep 17 00:00:00 2001
|
|
||||||
From: nicm <nicm>
|
|
||||||
Date: Thu, 29 Oct 2020 16:33:01 +0000
|
|
||||||
Subject: [PATCH] Do not write after the end of the array and overwrite the
|
|
||||||
stack when colon-separated SGR sequences contain empty arguments. Reported by
|
|
||||||
Sergey Nizovtsev.
|
|
||||||
|
|
||||||
---
|
|
||||||
input.c | 7 ++++++-
|
|
||||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/input.c b/input.c
|
|
||||||
index 42a60c92a..c280c0d97 100644
|
|
||||||
--- input.c
|
|
||||||
+++ input.c
|
|
||||||
@@ -1976,8 +1976,13 @@ input_csi_dispatch_sgr_colon(struct input_ctx *ictx, u_int i)
|
|
||||||
free(copy);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
- } else
|
|
||||||
+ } else {
|
|
||||||
n++;
|
|
||||||
+ if (n == nitems(p)) {
|
|
||||||
+ free(copy);
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
log_debug("%s: %u = %d", __func__, n - 1, p[n - 1]);
|
|
||||||
}
|
|
||||||
free(copy);
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'tmux'
|
# Template file for 'tmux'
|
||||||
pkgname=tmux
|
pkgname=tmux
|
||||||
version=3.1b
|
version=3.1c
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="byacc"
|
hostmakedepends="byacc"
|
||||||
makedepends="libevent-devel ncurses-devel"
|
makedepends="libevent-devel ncurses-devel"
|
||||||
|
@ -11,7 +11,7 @@ license="ISC"
|
||||||
homepage="https://tmux.github.io"
|
homepage="https://tmux.github.io"
|
||||||
changelog="https://raw.githubusercontent.com/tmux/tmux/master/CHANGES"
|
changelog="https://raw.githubusercontent.com/tmux/tmux/master/CHANGES"
|
||||||
distfiles="https://github.com/tmux/tmux/releases/download/${version}/tmux-${version}.tar.gz"
|
distfiles="https://github.com/tmux/tmux/releases/download/${version}/tmux-${version}.tar.gz"
|
||||||
checksum=d93f351d50af05a75fe6681085670c786d9504a5da2608e481c47cf5e1486db9
|
checksum=918f7220447bef33a1902d4faff05317afd9db4ae1c9971bef5c787ac6c88386
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Add table
Reference in a new issue