pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/mlterm mlterm: pull an upstream change that fixes ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5b3a24be91b
branches:  trunk
changeset: 389919:a5b3a24be91b
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Mon Dec 12 17:51:22 2022 +0000

description:
mlterm: pull an upstream change that fixes possible segfaults.

Bump PKGREVISION.

diffstat:

 x11/mlterm/Makefile                           |   4 ++--
 x11/mlterm/distinfo                           |   3 ++-
 x11/mlterm/patches/patch-common_c__imagelib.c |  17 +++++++++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r 32c4935a4533 -r a5b3a24be91b x11/mlterm/Makefile
--- a/x11/mlterm/Makefile       Mon Dec 12 17:42:04 2022 +0000
+++ b/x11/mlterm/Makefile       Mon Dec 12 17:51:22 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.177 2022/11/23 16:21:26 adam Exp $
+# $NetBSD: Makefile,v 1.178 2022/12/12 17:51:22 tsutsui Exp $
 
 DISTNAME=      mlterm-3.9.2
 DIST_SUBDIR=   ${PKGNAME_NOREV}        # for re-tagged 3.9.2
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=arakiken/}
 GITHUB_PROJECT=        ${PKGBASE}
diff -r 32c4935a4533 -r a5b3a24be91b x11/mlterm/distinfo
--- a/x11/mlterm/distinfo       Mon Dec 12 17:42:04 2022 +0000
+++ b/x11/mlterm/distinfo       Mon Dec 12 17:51:22 2022 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.96 2022/12/12 17:42:04 tsutsui Exp $
+$NetBSD: distinfo,v 1.97 2022/12/12 17:51:22 tsutsui Exp $
 
 BLAKE2s (mlterm-3.9.2/mlterm-3.9.2.tar.gz) = 3bd490eb661bc802cb05ebbb17a73956f5a62ca3838dcf5cb7baad0c01c3ebdb
 SHA512 (mlterm-3.9.2/mlterm-3.9.2.tar.gz) = 3076dafbc98a01738d88acf0e0f52e15d33862b3e9b7a851a4496f1be07ee9e51103daf7842954bcae1f1ba62bd6645b0bd60af7f66ee98721bdf3786b9fcbaf
 Size (mlterm-3.9.2/mlterm-3.9.2.tar.gz) = 4259208 bytes
+SHA1 (patch-common_c__imagelib.c) = 249d67057ea3d6f413de3c646d0e55e04547d4b9
 SHA1 (patch-configure) = 266b3e8383c425c7ef8cd180f07e1199890521ba
 SHA1 (patch-etc_font-fb) = 52c18f512c67ff530c0c326394fdf43956d71cb0
 SHA1 (patch-uitoolkit_fb_ui__display__wscons.c) = 5697668f9e294d313d2b9f9c670b047d3bcd8078
diff -r 32c4935a4533 -r a5b3a24be91b x11/mlterm/patches/patch-common_c__imagelib.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mlterm/patches/patch-common_c__imagelib.c     Mon Dec 12 17:51:22 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-common_c__imagelib.c,v 1.3 2022/12/12 17:51:22 tsutsui Exp $
+
+- pull upstream fix:
+ https://github.com/arakiken/mlterm/commit/ddc9a846a198216cc065901d8a81d8d2801bd70e
+ > * c_imagelib.c: Fix buffer over-read.
+
+--- common/c_imagelib.c.orig   2022-01-16 15:20:31.000000000 +0000
++++ common/c_imagelib.c
+@@ -43,7 +43,7 @@ static char *is_otf_emoji(const char *pa
+ 
+       return p + 5;
+     }
+-    path = p + 5;
++    path = p + 1;
+   }
+ 
+   return NULL;



Home | Main Index | Thread Index | Old Index