From 015a34a11baa4c8e66b0416f8a674c9f84ac4810 Mon Sep 17 00:00:00 2001 From: xingwei Date: Mon, 11 Sep 2023 19:45:21 +0800 Subject: [PATCH] correct patch names and commit messages --- ...ation-to-fix-file-pointer-not-closed.patch | 23 +++++++++++-------- ppp.spec | 12 +++++++--- 2 files changed, 23 insertions(+), 12 deletions(-) rename add-fclose-operation-to-fix-file-pointer-not-closed.patch => backport-add-fclose-operation-to-fix-file-pointer-not-closed.patch (77%) diff --git a/add-fclose-operation-to-fix-file-pointer-not-closed.patch b/backport-add-fclose-operation-to-fix-file-pointer-not-closed.patch similarity index 77% rename from add-fclose-operation-to-fix-file-pointer-not-closed.patch rename to backport-add-fclose-operation-to-fix-file-pointer-not-closed.patch index ecf814b..5f11266 100644 --- a/add-fclose-operation-to-fix-file-pointer-not-closed.patch +++ b/backport-add-fclose-operation-to-fix-file-pointer-not-closed.patch @@ -1,8 +1,15 @@ -From 894fd6a7ba225936f7711ef9a9413bba65f83b92 Mon Sep 17 00:00:00 2001 -From: Wei Xing -Date: Thu, 2 Mar 2023 21:07:10 +0800 -Subject: [PATCH] Add fclose operation to fix file pointer not closed after use - Signed-off-by: Wei Xing +From 883a65eee0ea9de6aa843614bc2a97bc1dd3ccd2 Mon Sep 17 00:00:00 2001 +From: Bmo <35866749+XWwalker@users.noreply.github.com> +Date: Sat, 18 Mar 2023 06:20:43 +0800 +Subject: [PATCH] radius plugin: add fclose operation to fix file pointer not + closed after use (#401) + +Signed-off-by: Wei Xing + +Co-authored-by: Wei Xing + +Conflict: NA +Reference: https://github.com/ppp-project/ppp/commit/883a65eee0ea9de6aa843614bc2a97bc1dd3ccd2 --- pppd/plugins/radius/clientid.c | 2 ++ @@ -10,7 +17,7 @@ Subject: [PATCH] Add fclose operation to fix file pointer not closed after use 2 files changed, 8 insertions(+) diff --git a/pppd/plugins/radius/clientid.c b/pppd/plugins/radius/clientid.c -index b1bbc47..eea5165 100644 +index b1bbc474..eea51650 100644 --- a/pppd/plugins/radius/clientid.c +++ b/pppd/plugins/radius/clientid.c @@ -68,6 +68,7 @@ int rc_read_mapfile(char *filename) @@ -30,7 +37,7 @@ index b1bbc47..eea5165 100644 } diff --git a/pppd/plugins/radius/config.c b/pppd/plugins/radius/config.c -index 47c172c..39744fc 100644 +index 47c172cc..39744fca 100644 --- a/pppd/plugins/radius/config.c +++ b/pppd/plugins/radius/config.c @@ -212,6 +212,7 @@ int rc_read_config(char *filename) @@ -72,6 +79,4 @@ index 47c172c..39744fc 100644 return (-1); break; default: --- -2.33.0 diff --git a/ppp.spec b/ppp.spec index 49e8642..d6b2685 100644 --- a/ppp.spec +++ b/ppp.spec @@ -1,6 +1,6 @@ Name: ppp Version: 2.4.8 -Release: 5 +Release: 6 Summary: The Point-to-Point Protocol License: BSD and LGPLv2+ and GPLv2+ and Public Domain @@ -59,7 +59,7 @@ Patch0027: ppp-CVE-2015-3310.patch Patch0028: ppp-CVE-2020-8597.patch Patch0029: backport-pppd-Negotiate-IP-address-when-only-peer-addresses-are-provided.patch Patch0030: backport-CVE-2022-4603.patch -Patch0031: add-fclose-operation-to-fix-file-pointer-not-closed.patch +Patch0031: backport-add-fclose-operation-to-fix-file-pointer-not-closed.patch %description The Point-to-Point Protocol (PPP) provides a standard way to establish @@ -156,8 +156,14 @@ mkdir -p %{buildroot}%{_rundir}/lock/ppp %{_mandir}/man8/*.8.gz %changelog +* Mon Sep 11 2023 xingwei - 2.4.8-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:correct patch names and commit messages + * Fri Mar 10 2023 xingwei - 2.4.8-5 -- Type:bufix +- Type:bugfix - ID:NA - SUG:NA - DESC:add fclose operation to fix file pointer not closed after use -- Gitee