Compare commits

1 Commits
main ... 1.1

3 changed files with 0 additions and 21 deletions

View File

@@ -1,13 +0,0 @@
diff --git a/src/iniparser.c b/src/iniparser.c
index 4cffb96..7cffe7a 100644
--- a/src/iniparser.c
+++ b/src/iniparser.c
@@ -327,6 +327,7 @@ void iniparser_dumpsection_ini(const dictionary * d, const char * s, FILE * f)
if (d==NULL || f==NULL) return ;
if (! iniparser_find_entry(d, s)) return ;
+ if (strlen(s) > sizeof(keym)) return ;
seclen = (int)strlen(s);
fprintf(f, "\n[%s]\n", s);

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
Thu Feb 27 13:07:37 UTC 2025 - Yunus Acar <yunus.acar@suse.com>
- Add CVE-2025-0633.patch (bsc#1237377)
Fix heap overflow in iniparser_dumpsection_ini()
-------------------------------------------------------------------
Wed May 15 19:07:26 UTC 2024 - Michal Suchanek <msuchanek@suse.com>

View File

@@ -28,8 +28,6 @@ URL: http://ndevilla.free.fr/iniparser/
Source: https://github.com/ndevilla/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source2: baselibs.conf
Patch00: iniparser_remove_rpath.patch
# PATCH-FIX-UPSTREAM CVE-2025-0633.patch bsc#1237377 -- based on commit 072a39a772a38c475e35a1be311304ca99e9de7f
Patch01: CVE-2025-0633.patch
BuildRequires: doxygen
%description