Devuan bug report logs - #657
Incompatible string concatination in matchit

version graph

Package: vim-runtime; Maintainer for vim-runtime is (unknown); Source for vim-runtime is src:vim.

Reported by: Klaus Ethgen <Klaus@ethgen.de>

Date: Sun, 23 Jan 2022 12:10:01 UTC

Severity: normal

Tags: debian, upstream

Found in version 2:8.2.3995-1

Fixed in version 2:8.2.4659-1

Done: Mark Hindley <mark@hindley.org.uk>

Full log


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 23 Jan 2022 12:09:04 +0000
Return-Path: <Klaus@ethgen.de>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sun, 23 Jan 2022 12:09:04 +0000 (UTC)
Received: from tschil.ethgen.ch (tschil.ethgen.ch [5.9.7.51])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 5F7786618E9
	for <submit@bugs.devuan.org>; Sun, 23 Jan 2022 13:08:15 +0100 (CET)
Authentication-Results: mail.dyne.org;
	dkim=pass (4096-bit key; unprotected) header.d=ethgen.de header.i=@ethgen.de header.b="AkgBC4lW";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ethgen.de;
	 s=mail; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date:Sender:
	Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
	Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
	In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
	List-Post:List-Owner:List-Archive;
	bh=Qrn4TaR2C427SVcbAGW3KAMdlRtt5SHVIWyCnv0xbas=; b=AkgBC4lWoVlxW2jLB672nHPH6c
	0jVoOeQeGqEOxj6nLddGkAYSqm0tfWEIv53MJGkFCvtw130/Doh7VC2ySTEZAr9gfIp00xCJbDr3v
	FcllnUj6U9EwHzpTdHp5SB3vkCkwyT8af6hLAQWizJO/2IgjWJHUvFw9z1B0O0eq1XAX4jernYR1u
	PVAu0z8F/i/bwHtKhiQEJz/5b2k8emxZ/gcMz0+23TklkQvsusVdgKKECSoGtzFriu4EonLyvCD3i
	n1iRv6lj4EVOOlCeaR+riuZ1IOhvnrdOgUnkqd8Nr66xqcn1HAy8gM2lm0ErUajWGd734YK0drFS5
	j2QDgjMpk5JKEc8Wj7Z+Mpj6l5BbMBUZ105uWBEx6+9VAVfJyvJ4xhQ7j021/P6g6Va9o4s2IDbdd
	qbvv4ly/pjuSKKQxR2glksalYcItcdvKnx9BC6/XpFPmUQzb97kKMthcBPQQOBYt4IGDSmctXJ8by
	3xzUWXSYJbYW8TSTi0nqWNXG2ZV8I7iEdI71lsadr3kk2r4BmknY/lm8+7kT/17Bugy+52teshy25
	zFIPLwKmelwC/PARKdlM2VBe8fvurN8Pqk15N+kRjHB85/JIEWaZFWAoUtZJAlJhxPDvYMv9K2GQS
	vPldIp9eEONvvvaLv9QxGoQsWeZLIrYTdZIK2MPiw=;
Received: from [192.168.17.4] (helo=ikki.ket)
	by tschil.ethgen.ch with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <Klaus@ethgen.de>)
	id 1nBbfG-0006J1-5Z; Sun, 23 Jan 2022 12:08:10 +0000
Received: from klaus by ikki.ket with local (Exim 4.95)
	(envelope-from <Klaus@ethgen.de>)
	id 1nBbfF-00084e-Ur;
	Sun, 23 Jan 2022 13:08:09 +0100
Date: Sun, 23 Jan 2022 13:08:09 +0100
From: Klaus Ethgen <Klaus@ethgen.de>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: Incompatible string concatination in matchit
Message-ID: <Ye1FKdZZO4mQ01lb@ikki.ethgen.ch>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="wlUQ+DtIZVGKsbSb"
Content-Disposition: inline
X-Reportbug-Version: 11.2.0+devuan1
OpenPGP: id=79D0B06F4E20AF1C;
 url=http://www.ethgen.ch/~klaus/79D0B06F4E20AF1C.txt; preference=signencrypt
X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_PASS,URIBL_BLOCKED
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org
[Message part 1 (text/plain, inline)]
Package: vim-runtime
Version: 2:8.2.3995-1
Severity: normal

Upstream changed matchit.vim in commit fa3b72348 to not accept "." as
concatination anymore (updating scriptversion to 4). However, they
forgot to change all "." to "..".

This is a upstream bug still in the master branch.

The following patch will fix that:
--- /usr/share/vim/vim82/pack/dist/opt/matchit/autoload/matchit.vim.orig        2022-01-23 12:54:50.973747466 +0100
+++ /usr/share/vim/vim82/pack/dist/opt/matchit/autoload/matchit.vim     2022-01-23 12:55:42.898040910 +0100
@@ -763,9 +763,9 @@
       let skip = "synIDattr(synID(line('.'),col('.'),1),'name') !~? '" ..
         \ strpart(skip,2) .. "'"
     elseif skip[0] == "r"
-      let skip = "strpart(getline('.'),0,col('.'))=~'" . strpart(skip,2). "'"
+      let skip = "strpart(getline('.'),0,col('.'))=~'" .. strpart(skip,2) .. "'"
     elseif skip[0] == "R"
-      let skip = "strpart(getline('.'),0,col('.'))!~'" . strpart(skip,2). "'"
+      let skip = "strpart(getline('.'),0,col('.'))!~'" .. strpart(skip,2) .. "'"
     endif
   endif
   return skip

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus/ceres)
Release:	5
Codename:	daedalus ceres
Architecture: x86_64

Kernel: Linux 5.13.4 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CPU_OUT_OF_SPEC, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim             2:8.2.3995-1
ii  vim-gtk3 [vim]  2:8.2.3995-1
ii  vim-nox [vim]   2:8.2.3995-1

vim-runtime suggests no packages.

-- no debconf information

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat May 4 12:59:40 2024;