backport lib/node.c: Fix minor typo in error message
This commit is contained in:
parent
ea4b7d438a
commit
716bfa82b8
25
0001-lib-node.c-Fix-minor-typo-in-error-message.patch
Normal file
25
0001-lib-node.c-Fix-minor-typo-in-error-message.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From bb92eed6b57ed29d8230ca688ff73771b8b7e845 Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Fri, 16 Jul 2021 09:49:04 +0100
|
||||
Subject: [PATCH] lib/node.c: Fix minor typo in error message
|
||||
|
||||
---
|
||||
lib/node.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/node.c b/lib/node.c
|
||||
index 21cd127..7b002a4 100644
|
||||
--- a/lib/node.c
|
||||
+++ b/lib/node.c
|
||||
@@ -346,7 +346,7 @@ _hivex_get_children (hive_h *h, hive_node_h node,
|
||||
if (!h->unsafe) {
|
||||
SET_ERRNO (ENOTSUP,
|
||||
"nr_subkeys_in_nk = %zu "
|
||||
- "is not equal to number of childred read %zu",
|
||||
+ "is not equal to number of children read %zu",
|
||||
nr_subkeys_in_nk, nr_children);
|
||||
goto error;
|
||||
} else {
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
Name: hivex
|
||||
Version: 1.3.17
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: Windows Registry "hive" extraction library
|
||||
License: LGPLv2
|
||||
URL: http://libguestfs.org/
|
||||
@ -15,6 +15,7 @@ Source1: http://libguestfs.org/download/hivex/%{name}-%{version}.tar.gz.s
|
||||
Source2: libguestfs.keyring
|
||||
Patch0: CVE-2021-3504.patch
|
||||
Patch1: CVE-2021-3622.patch
|
||||
Patch2: 0001-lib-node.c-Fix-minor-typo-in-error-message.patch
|
||||
|
||||
BuildRequires: perl-interpreter, perl, perl-podlators, perl-devel, perl-generators, perl(bytes), perl(Carp), perl(Encode), perl(ExtUtils::MakeMaker), perl(Exporter), perl(IO::Scalar), perl(IO::Stringy), perl(strict), perl(Test::More), perl(utf8), perl(vars), perl(warnings), perl(XSLoader), perl(Test::Pod) >= 1.00, perl(Test::Pod::Coverage) >= 1.00
|
||||
|
||||
@ -217,6 +218,9 @@ cd python3 && make check && cd ..
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 21 2023 liyuanyuan <liyuanyuan@xfusion.com> - 1.3.17-7
|
||||
- lib/node.c: Fix minor typo in error message
|
||||
|
||||
* Mon May 29 2023 guoqinglan <guoqinglan@kylinsec.com.cn> - 1.3.17-6
|
||||
- generate ocaml sub-packages for sw_64 and loongarch64
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user