8 Star 1 Fork 25

src-openEuler/nfs-utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
0000-systemd-idmapd-require-rpc-pipefs.patch
0001-correct-the-statd-path-in-man.patch
0002-nfs-utils-set-use-gss-proxy-1-to-enable-gss-proxy-by...
0003-idmapd-Fix-error-status-when-nfs-idmapd-exits.patch
0004-fix-coredump-in-bl_add_disk.patch
0005-Fix-format-overflow-warning.patch
0006-nfs-blkmaped-Fix-the-error-status-when-nfs_blkmapd-s...
0007-nfs-blkmapd-PID-file-read-by-systemd-failed.patch
0008-svcgssd-Fix-use-after-free-bug-config-variables.patch
0009-rpc-pipefs-generator-allocate-enough-space-for-pipef...
0010-nfs-utils-Don-t-allow-junction-tests-to-trigger-auto...
0011-Covscan-Scan-Wrong-Check-of-Return-Value.patch
0012-rpcdebug-avoid-buffer-underflow-if-read-returns-0.patch
0013-export-Fix-rootdir-corner-case-in-next_mnt.patch
0014-Move-version.h-into-a-common-include-directory.patch
0015-mountd-only-do-NFSv4-logging-on-supported-kernels.patch
0016-libnfsidmap-try-to-get-the-domain-directly-from-host...
0017-Fixed-a-regression-in-the-junction-code.patch
0018-export-fix-handling-of-error-from-match_fsid.patch
0019-export-move-cache_open-before-workers-are-forked.patch
0020-gssd-fix-handling-DNS-lookup-failure.patch
nfs-utils-2.5.4.tar.xz
nfs-utils.spec
nfs-utils.yaml
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0009-rpc-pipefs-generator-allocate-enough-space-for-pipef.patch 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
From 40c5af17e76322bb1d030eee5dc7837946c90c08 Mon Sep 17 00:00:00 2001
From: Steve Dickson <steved@redhat.com>
Date: Thu, 21 Jul 2022 15:11:17 -0400
Subject: [PATCH] rpc-pipefs-generator: allocate enough space for
pipefs-directory buffer
Commit 7f8463fe fixed a warning but introduce
a regression by not allocating enough space
for the pipefs-directory buffer when it is
not the default.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2106896
Signed-off-by: Steve Dickson <steved@redhat.com>
---
systemd/rpc-pipefs-generator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/systemd/rpc-pipefs-generator.c b/systemd/rpc-pipefs-generator.c
index 801975c..060f59c 100644
--- a/systemd/rpc-pipefs-generator.c
+++ b/systemd/rpc-pipefs-generator.c
@@ -28,7 +28,7 @@ static int generate_mount_unit(const char *pipefs_path, const char *pipefs_unit,
{
char *path;
FILE *f;
- size_t size = (strlen(dirname) + 1 + strlen(pipefs_unit));
+ size_t size = (strlen(dirname) + 1 + strlen(pipefs_unit) + 1);
path = malloc(size);
if (!path)
return 1;
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/nfs-utils.git
git@gitee.com:src-openeuler/nfs-utils.git
src-openeuler
nfs-utils
nfs-utils
openEuler-22.03-LTS

搜索帮助