From 3be64c19057eb1461b36feacb2cb32b6eeeb1639 Mon Sep 17 00:00:00 2001 From: icehole Date: Sun, 25 Jun 2023 07:05:08 +0000 Subject: [PATCH 1/2] update mount.cifs.c. Signed-off-by: icehole --- mount.cifs.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mount.cifs.c b/mount.cifs.c index 9f2aa89..a995d07 100644 --- a/mount.cifs.c +++ b/mount.cifs.c @@ -609,17 +609,13 @@ static int open_cred_file(char *file_name, goto return_i; break; case CRED_DOM: - if (parsed_info->verboseflag) - fprintf(stderr, "domain=%s\n", - temp_val); strlcpy(parsed_info->domain, temp_val, sizeof(parsed_info->domain)); break; case CRED_UNPARSEABLE: if (parsed_info->verboseflag) fprintf(stderr, "Credential formatted " - "incorrectly: %s\n", - temp_val ? temp_val : "(null)"); + "incorrectly\n"); break; } } -- Gitee From 74ceebb289bb25c8a0aa2411117a629afaddc686 Mon Sep 17 00:00:00 2001 From: icehole Date: Sun, 25 Jun 2023 07:10:07 +0000 Subject: [PATCH 2/2] update debian/changelog. Signed-off-by: icehole --- debian/changelog | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index 598d033..6178d3e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,8 @@ +cifs-utils (2:6.9-ok4) yangtze; urgency=medium + + * CVE-2022-29869 mount.cifs: fix verbose messages on option parsing + -- icehole Sun, 25 Jun 2023 13:56:09 +0800 + cifs-utils (2:6.9-ok4) yangtze; urgency=medium * Jason_Ren CVE-2022-27239 安全更新:cifs-utils 在解析 mount.cifs ip=命令行参数时存在缓冲区溢出. -- Gitee