Message ID | 20221119214851.3386858-1-adolf.belka@ipfire.org |
---|---|
State | Accepted |
Commit | 6948b9f7e9b04c1f08b5b099e3d55f92e8fd7af9 |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4NF6jh5Hmxz3wgd for <patchwork@web04.haj.ipfire.org>; Sat, 19 Nov 2022 21:48:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4NF6jh1c2Vz2QT; Sat, 19 Nov 2022 21:48:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4NF6jh1HMvz2xk2; Sat, 19 Nov 2022 21:48:56 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4NF6jf1QXWz2xJQ for <development@lists.ipfire.org>; Sat, 19 Nov 2022 21:48:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4NF6jd4SMVz1Cp; Sat, 19 Nov 2022 21:48:53 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1668894533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=h7WE48eIZc17WqXqo7fF/kNbSdfwwjM8rrMOIiowXRA=; b=LK1dMInbCtSsunxRsSYYqixuNZAEapQ1NkRtpoM9WH4naIM66qMjDXgQsVTfpsWsVFCt2G ahd53dZG4zMidsAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1668894533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=h7WE48eIZc17WqXqo7fF/kNbSdfwwjM8rrMOIiowXRA=; b=iwsleoCQzREZmBxkLfMPhiMsY9sO6LqePDsFtj4uQdkWIcaJHO1EZslUedt1SE6b1wgkXT /LghNI09gwmC8v4rZHhT5p77QWYJ3EnKYlFWdpS3Y7Y7VdTG80CGXxgAvnYkL8rmRIKbrC N2gDxyGQVXjT2O/oHHdxRr18NcfHXTEoxqfa4pzAOGTg3TRvLtlBKPLnzUi/3gk4E3jDHH wtZgvF5U3n82QAlZkxqjG5Vu5oT51CI+McbGtYdR5kkGrX1oj6X4tuS3732ovxMEe7n/ZD kBGtL27GFOKj9apPQu+7n7yM8T75iLReZsWeBsFFT4dVKFTFgjTwgqo5pYUr9Q== From: Adolf Belka <adolf.belka@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] sed: Update to version 4.9 Date: Sat, 19 Nov 2022 22:48:51 +0100 Message-Id: <20221119214851.3386858-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <https://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <https://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Series |
sed: Update to version 4.9
|
|
Commit Message
Adolf Belka
Nov. 19, 2022, 9:48 p.m. UTC
- Update from version 4.8 to 4.9
- Update of rootfile not required
- Changelog
* Noteworthy changes in release 4.9 (2022-11-06) [stable]
** Bug fixes
'sed --follow-symlinks -i' no longer loops forever when its operand
is a symbolic link cycle.
[bug introduced in sed 4.2]
a program with an execution line longer than 2GB can no longer trigger
an out-of-bounds memory write.
using the R command to read an input line of length longer than 2GB
can no longer trigger an out-of-bounds memory read.
In locales using UTF-8 encoding, the regular expression '.' no
longer sometimes fails to match Unicode characters U+D400 through
U+D7FF (some Hangul Syllables, and Hangul Jamo Extended-B) and
Unicode characters U+108000 through U+10FFFF (half of Supplemental
Private Use Area plane B).
[bug introduced in sed 4.8]
I/O errors involving temp files no longer confuse sed into using a
FILE * pointer after fclosing it, which has undefined behavior in C.
** New Features
The 'r' command now accepts address 0, allowing inserting a file before
the first line.
** Changes in behavior
Sed now prints the less-surprising variant in a corner case of
POSIX-unspecified behavior. Before, this would print "n".
Now, it prints "X":
printf n | sed 'sn\nnXn'; echo
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
lfs/sed | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Reviewed-by: Peter Müller <peter.mueller@ipfire.org> > - Update from version 4.8 to 4.9 > - Update of rootfile not required > - Changelog > * Noteworthy changes in release 4.9 (2022-11-06) [stable] > ** Bug fixes > 'sed --follow-symlinks -i' no longer loops forever when its operand > is a symbolic link cycle. > [bug introduced in sed 4.2] > a program with an execution line longer than 2GB can no longer trigger > an out-of-bounds memory write. > using the R command to read an input line of length longer than 2GB > can no longer trigger an out-of-bounds memory read. > In locales using UTF-8 encoding, the regular expression '.' no > longer sometimes fails to match Unicode characters U+D400 through > U+D7FF (some Hangul Syllables, and Hangul Jamo Extended-B) and > Unicode characters U+108000 through U+10FFFF (half of Supplemental > Private Use Area plane B). > [bug introduced in sed 4.8] > I/O errors involving temp files no longer confuse sed into using a > FILE * pointer after fclosing it, which has undefined behavior in C. > ** New Features > The 'r' command now accepts address 0, allowing inserting a file before > the first line. > ** Changes in behavior > Sed now prints the less-surprising variant in a corner case of > POSIX-unspecified behavior. Before, this would print "n". > Now, it prints "X": > printf n | sed 'sn\nnXn'; echo > > Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> > --- > lfs/sed | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lfs/sed b/lfs/sed > index 157be07cd..89ca4f250 100644 > --- a/lfs/sed > +++ b/lfs/sed > @@ -24,7 +24,7 @@ > > include Config > > -VER = 4.8 > +VER = 4.9 > > THISAPP = sed-$(VER) > DL_FILE = $(THISAPP).tar.xz > @@ -53,7 +53,7 @@ objects = $(DL_FILE) > > $(DL_FILE) = $(DL_FROM)/$(DL_FILE) > > -$(DL_FILE)_BLAKE2 = 62f6b6500cc9a20a35cafc2b09b12bb7da67fa0afb0b1b26153babc0023424b3126f44d29eba14c25fc4490996c90738b191c9440c66da6c120bbb9bc6f6df65 > +$(DL_FILE)_BLAKE2 = 6c7c7dc782b87c3bd0b5e826ba46c2f1dc7bd8c1159945fcf14b394711742964628774cf9f27d844b672721d7849e6c31992d82fafb9ed4118b7feb60406d1e1 > > install : $(TARGET) >
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org> > On 19 Nov 2022, at 21:48, Adolf Belka <adolf.belka@ipfire.org> wrote: > > - Update from version 4.8 to 4.9 > - Update of rootfile not required > - Changelog > * Noteworthy changes in release 4.9 (2022-11-06) [stable] > ** Bug fixes > 'sed --follow-symlinks -i' no longer loops forever when its operand > is a symbolic link cycle. > [bug introduced in sed 4.2] > a program with an execution line longer than 2GB can no longer trigger > an out-of-bounds memory write. > using the R command to read an input line of length longer than 2GB > can no longer trigger an out-of-bounds memory read. > In locales using UTF-8 encoding, the regular expression '.' no > longer sometimes fails to match Unicode characters U+D400 through > U+D7FF (some Hangul Syllables, and Hangul Jamo Extended-B) and > Unicode characters U+108000 through U+10FFFF (half of Supplemental > Private Use Area plane B). > [bug introduced in sed 4.8] > I/O errors involving temp files no longer confuse sed into using a > FILE * pointer after fclosing it, which has undefined behavior in C. > ** New Features > The 'r' command now accepts address 0, allowing inserting a file before > the first line. > ** Changes in behavior > Sed now prints the less-surprising variant in a corner case of > POSIX-unspecified behavior. Before, this would print "n". > Now, it prints "X": > printf n | sed 'sn\nnXn'; echo > > Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> > --- > lfs/sed | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lfs/sed b/lfs/sed > index 157be07cd..89ca4f250 100644 > --- a/lfs/sed > +++ b/lfs/sed > @@ -24,7 +24,7 @@ > > include Config > > -VER = 4.8 > +VER = 4.9 > > THISAPP = sed-$(VER) > DL_FILE = $(THISAPP).tar.xz > @@ -53,7 +53,7 @@ objects = $(DL_FILE) > > $(DL_FILE) = $(DL_FROM)/$(DL_FILE) > > -$(DL_FILE)_BLAKE2 = 62f6b6500cc9a20a35cafc2b09b12bb7da67fa0afb0b1b26153babc0023424b3126f44d29eba14c25fc4490996c90738b191c9440c66da6c120bbb9bc6f6df65 > +$(DL_FILE)_BLAKE2 = 6c7c7dc782b87c3bd0b5e826ba46c2f1dc7bd8c1159945fcf14b394711742964628774cf9f27d844b672721d7849e6c31992d82fafb9ed4118b7feb60406d1e1 > > install : $(TARGET) > > -- > 2.38.1 >
diff --git a/lfs/sed b/lfs/sed index 157be07cd..89ca4f250 100644 --- a/lfs/sed +++ b/lfs/sed @@ -24,7 +24,7 @@ include Config -VER = 4.8 +VER = 4.9 THISAPP = sed-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -53,7 +53,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 62f6b6500cc9a20a35cafc2b09b12bb7da67fa0afb0b1b26153babc0023424b3126f44d29eba14c25fc4490996c90738b191c9440c66da6c120bbb9bc6f6df65 +$(DL_FILE)_BLAKE2 = 6c7c7dc782b87c3bd0b5e826ba46c2f1dc7bd8c1159945fcf14b394711742964628774cf9f27d844b672721d7849e6c31992d82fafb9ed4118b7feb60406d1e1 install : $(TARGET)