x11/tilda: Fix OOB write in start_default_shell()
The fix was committed to upstream in May 9, but no release was made
for it until now.
51a980a55a
Update Makefile to make portlint happy
PR: 264270
Reported by: <iron.udjin@gmail.com>
Tested by: <iron.udjin@gmail.com>
This commit is contained in:
parent
e9360bde17
commit
4dbdc33a8d
|
@ -1,6 +1,7 @@
|
||||||
PORTNAME= tilda
|
PORTNAME= tilda
|
||||||
PORTVERSION= 1.5.0
|
PORTVERSION= 1.5.0
|
||||||
DISTVERSIONPREFIX= ${PORTNAME}-
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= x11
|
CATEGORIES= x11
|
||||||
|
|
||||||
MAINTAINER= rodrigo@FreeBSD.org
|
MAINTAINER= rodrigo@FreeBSD.org
|
||||||
|
@ -10,17 +11,19 @@ WWW= https://github.com/lanoxx/tilda
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
BUILD_DEPENDS= vte3>=0:x11-toolkits/vte3
|
BUILD_DEPENDS= vte3>=0:x11-toolkits/vte3
|
||||||
RUN_DEPENDS= vte3>=0:x11-toolkits/vte3
|
|
||||||
LIB_DEPENDS= libconfuse.so:devel/libconfuse
|
LIB_DEPENDS= libconfuse.so:devel/libconfuse
|
||||||
|
RUN_DEPENDS= vte3>=0:x11-toolkits/vte3
|
||||||
|
|
||||||
|
USES= gmake gettext gnome pkgconfig autoreconf pathfix libtool xorg
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= lanoxx
|
||||||
|
USE_GNOME+= glib20 gtk30 gdkpixbuf2 pango
|
||||||
|
USE_XORG+= x11
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --disable-rpath
|
CONFIGURE_ARGS= --disable-rpath
|
||||||
USES= gmake gettext gnome pkgconfig autoreconf pathfix libtool xorg
|
|
||||||
USE_XORG+= x11
|
|
||||||
USE_GNOME+= glib20 gtk30 gdkpixbuf2 pango
|
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
USE_GITHUB= yes
|
|
||||||
GH_ACCOUNT= lanoxx
|
|
||||||
|
|
||||||
DOCS= AUTHORS ChangeLog HACKING.md README.md TODO.md
|
DOCS= AUTHORS ChangeLog HACKING.md README.md TODO.md
|
||||||
|
|
||||||
|
|
11
x11/tilda/files/patch-src_tilda_terminal.c
Normal file
11
x11/tilda/files/patch-src_tilda_terminal.c
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/tilda_terminal.c.orig 2022-10-30 15:03:03 UTC
|
||||||
|
+++ src/tilda_terminal.c
|
||||||
|
@@ -530,7 +530,7 @@
|
||||||
|
*/
|
||||||
|
flags |= G_SPAWN_FILE_AND_ARGV_ZERO;
|
||||||
|
} else {
|
||||||
|
- argv = malloc(1 * sizeof(void *));
|
||||||
|
+ argv = malloc(2 * sizeof(void *));
|
||||||
|
argv[0] = default_command;
|
||||||
|
argv[1] = NULL;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user