pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2019Q4] pkgsrc/x11/mate-terminal



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Jan 18 22:05:53 UTC 2020

Modified Files:
        pkgsrc/x11/mate-terminal [pkgsrc-2019Q4]: Makefile distinfo
Added Files:
        pkgsrc/x11/mate-terminal/patches [pkgsrc-2019Q4]:
            patch-src_terminal-screen.c

Log Message:
Pullup ticket #6106 - requested by gutteridge
x11/mate-terminal: crash fix

Revisions pulled up:
- x11/mate-terminal/Makefile                                    1.19
- x11/mate-terminal/distinfo                                    1.7
- x11/mate-terminal/patches/patch-src_terminal-screen.c         1.1

---
   Module Name:    pkgsrc
   Committed By:   gutteridge
   Date:           Thu Jan  2 18:55:58 UTC 2020

   Modified Files:
           pkgsrc/x11/mate-terminal: Makefile distinfo
   Added Files:
           pkgsrc/x11/mate-terminal/patches: patch-src_terminal-screen.c

   Log Message:
   mate-terminal: avoid NULL pointer dereference

   This fixes a bug that caused significant application crashes.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.18.6.1 pkgsrc/x11/mate-terminal/Makefile
cvs rdiff -u -r1.6 -r1.6.8.1 pkgsrc/x11/mate-terminal/distinfo
cvs rdiff -u -r0 -r1.1.2.2 \
    pkgsrc/x11/mate-terminal/patches/patch-src_terminal-screen.c

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

Modified files:

Index: pkgsrc/x11/mate-terminal/Makefile
diff -u pkgsrc/x11/mate-terminal/Makefile:1.18 pkgsrc/x11/mate-terminal/Makefile:1.18.6.1
--- pkgsrc/x11/mate-terminal/Makefile:1.18      Sun Jul 21 22:26:02 2019
+++ pkgsrc/x11/mate-terminal/Makefile   Sat Jan 18 22:05:53 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2019/07/21 22:26:02 wiz Exp $
+# $NetBSD: Makefile,v 1.18.6.1 2020/01/18 22:05:53 bsiegert Exp $
 
-PKGREVISION= 2
+PKGREVISION= 3
 .include "../../meta-pkgs/mate/Makefile.common"
 
 DISTNAME=      mate-terminal-${VERSION:R}.1

Index: pkgsrc/x11/mate-terminal/distinfo
diff -u pkgsrc/x11/mate-terminal/distinfo:1.6 pkgsrc/x11/mate-terminal/distinfo:1.6.8.1
--- pkgsrc/x11/mate-terminal/distinfo:1.6       Wed May  8 01:40:01 2019
+++ pkgsrc/x11/mate-terminal/distinfo   Sat Jan 18 22:05:53 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2019/05/08 01:40:01 gutteridge Exp $
+$NetBSD: distinfo,v 1.6.8.1 2020/01/18 22:05:53 bsiegert Exp $
 
 SHA1 (mate-terminal-1.22.1.tar.xz) = 52218ea2066fb813c351b6e1b8b22787665d177a
 RMD160 (mate-terminal-1.22.1.tar.xz) = 907928524c180129af4bda7ec0e14260627e3ea9
 SHA512 (mate-terminal-1.22.1.tar.xz) = b20102c15dc140b59c93802606ca94fd108dfd5f7ac7f079b872e957794fc2c3aab40c0e6da697e8d393a67fca7b106573a4cb8014af5d6c8ad777be3a798534
 Size (mate-terminal-1.22.1.tar.xz) = 1543900 bytes
+SHA1 (patch-src_terminal-screen.c) = 2fbfe4ef4280174b6688fbc37e13bc839dd175f7

Added files:

Index: pkgsrc/x11/mate-terminal/patches/patch-src_terminal-screen.c
diff -u /dev/null pkgsrc/x11/mate-terminal/patches/patch-src_terminal-screen.c:1.1.2.2
--- /dev/null   Sat Jan 18 22:05:53 2020
+++ pkgsrc/x11/mate-terminal/patches/patch-src_terminal-screen.c        Sat Jan 18 22:05:53 2020
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_terminal-screen.c,v 1.1.2.2 2020/01/18 22:05:53 bsiegert Exp $
+
+Avoid NULL pointer dereference in terminal_screen_child_exited.
+https://github.com/mate-desktop/mate-terminal/commit/fe73da93aa0a14ee471e7a6af7914197c41d3723
+
+--- src/terminal-screen.c.orig 2019-04-23 10:25:08.000000000 +0000
++++ src/terminal-screen.c
+@@ -1946,6 +1946,9 @@ terminal_screen_child_exited (VteTermina
+               break;
+       case TERMINAL_EXIT_HOLD:
+       {
++              if ((status == 9) && (priv->override_command == NULL))
++                      break;
++
+               GtkWidget *info_bar;
+ 
+               info_bar = terminal_info_bar_new (GTK_MESSAGE_INFO,



Home | Main Index | Thread Index | Old Index