pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

twin-environment: Install patches/



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Oct 26 02:38:50 2020 +0100
Changeset:	8757f512fb3995bc197f175ed441c0d84d7e9cac

Added Files:
	twin-environment/patches/patch-server_hw_hw__tty__common_driver__termcap.h

Log Message:
twin-environment: Install patches/

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8757f512fb3995bc197f175ed441c0d84d7e9cac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 .../patch-server_hw_hw__tty__common_driver__termcap.h     | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diffs:
diff --git a/twin-environment/patches/patch-server_hw_hw__tty__common_driver__termcap.h b/twin-environment/patches/patch-server_hw_hw__tty__common_driver__termcap.h
new file mode 100644
index 0000000000..a5c6f8543c
--- /dev/null
+++ b/twin-environment/patches/patch-server_hw_hw__tty__common_driver__termcap.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix buffer overflow (on NetBSD 9.99.74).
+
+--- server/hw/hw_tty_common/driver_termcap.h.orig	2019-12-23 20:33:52.000000000 +0000
++++ server/hw/hw_tty_common/driver_termcap.h
+@@ -88,7 +88,7 @@ static udat termcap_LookupKey(udat *Shif
+ }
+ 
+ static char *termcap_extract(CONST char *cap, char **dest) {
+-  char buf[20], *d = buf, *s = tgetstr(cap, &d);
++  char buf[1024], *d = buf, *s = tgetstr(cap, &d);
+ 
+   if (!s || !*s) {
+     return *dest = CloneStr("");


Home | Main Index | Thread Index | Old Index