fix sfdisk crash caused by wrong translate file
This commit is contained in:
parent
ab6b3a48ed
commit
75f6973aef
25
sfdisk-fix-crash-casued-by-out-of-bounds-access.patch
Normal file
25
sfdisk-fix-crash-casued-by-out-of-bounds-access.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 0b91a6d77bfc88374558f6931020cec7475f24ed Mon Sep 17 00:00:00 2001
|
||||
From: biubiuzy <294772273@qq.com>
|
||||
Date: Sat, 11 May 2024 10:33:48 +0800
|
||||
Subject: [PATCH] sfdisk: fix crash casued by out-of-bounds access
|
||||
|
||||
---
|
||||
po/zh_CN.po | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/po/zh_CN.po b/po/zh_CN.po
|
||||
index 39157dc..f684178 100644
|
||||
--- a/po/zh_CN.po
|
||||
+++ b/po/zh_CN.po
|
||||
@@ -4518,7 +4518,7 @@ msgid ""
|
||||
"Type 'help' to get more information.\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
-"请执行“%s --help”了解更多信息。\n"
|
||||
+"请执行“help”了解更多信息。\n"
|
||||
|
||||
#: disk-utils/sfdisk.c:1850
|
||||
msgid "All partitions used."
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
Name: util-linux
|
||||
Version: 2.37.2
|
||||
Release: 34
|
||||
Release: 35
|
||||
Summary: A random collection of Linux utilities
|
||||
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
||||
URL: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
|
||||
@ -161,6 +161,7 @@ Patch9001: SKIPPED-no-root-permissions-test.patch
|
||||
Patch9002: util-linux-Add-sw64-architecture.patch
|
||||
%endif
|
||||
Patch9003: backport-uuidd-fix-open-lock-state-issue.patch
|
||||
Patch9004: sfdisk-fix-crash-casued-by-out-of-bounds-access.patch
|
||||
|
||||
BuildRequires: audit-libs-devel >= 1.0.6 gettext-devel libselinux-devel ncurses-devel pam-devel zlib-devel popt-devel
|
||||
BuildRequires: libutempter-devel systemd-devel systemd libuser-devel libcap-ng-devel python3-devel gcc autoconf automake
|
||||
@ -531,6 +532,12 @@ fi
|
||||
%{_mandir}/man8/{swapoff.8*,swapon.8*,switch_root.8*,umount.8*,wdctl.8.gz,wipefs.8*,zramctl.8*}
|
||||
|
||||
%changelog
|
||||
* Wed Jul 03 2024 zhangxianting <zhangxianting@uniontech.com> - 2.37.2-35
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:fix sfdisk crash caused by wrong translate file
|
||||
|
||||
* Sat Jun 29 2024 zhangyao <zhangyao108@huawei.com> - 2.37.2-34
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user