From 333e1ec6836c93bf4b1f1286f2d76d5faf280bc3451d1591eb713af187355a17 Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Fri, 24 Mar 2023 16:12:42 +0000 Subject: [PATCH] Accepting request 1074225 from home:schubi2 - Update to version 0.5.2: * Fixed build for aarch64 and gcc13. * Making the output verbose when a test fails. * Fixed a stack-buffer-overflow vulnerability in "econf_writeFile" function. * Fixed a stack-buffer-overflow vulnerability in "read_file" function. * Added new feature: econf_set_conf_dirs (const char **dir_postfix_list) Sets a list of directory structures (with order) which describes the directories in which the files have to be parsed. E.G. with the given list: {"/conf.d/", ".d/", "/", NULL} files in following directories will be parsed: "/..d/" "//conf.d/" "/.d/" "//" The entry "/..d/" will be added automatically. * General code cleanup. OBS-URL: https://build.opensuse.org/request/show/1074225 OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=10 --- _servicedata | 2 +- libeconf-0.5.1.tar.xz | 3 --- libeconf-0.5.2.tar.xz | 3 +++ libeconf.changes | 23 +++++++++++++++++++++++ libeconf.spec | 2 +- 5 files changed, 28 insertions(+), 5 deletions(-) delete mode 100644 libeconf-0.5.1.tar.xz create mode 100644 libeconf-0.5.2.tar.xz diff --git a/_servicedata b/_servicedata index fa0243d..994a169 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/openSUSE/libeconf.git - 77aa2597aa73b56ab1aa824d443ff9fa5667d71e + 535641ce1131db19d526e0f1d1d43437b87add44 \ No newline at end of file diff --git a/libeconf-0.5.1.tar.xz b/libeconf-0.5.1.tar.xz deleted file mode 100644 index 729d406..0000000 --- a/libeconf-0.5.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:430900f40b9c2aa34508b8d20ee40fa900d208b4377b42b809c290df249bb7f0 -size 148372 diff --git a/libeconf-0.5.2.tar.xz b/libeconf-0.5.2.tar.xz new file mode 100644 index 0000000..e0c05a9 --- /dev/null +++ b/libeconf-0.5.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1f9a07d9693ec48f416b5ca31ac1d2f23a1f3688252edffec2e12ca8c1b3be2 +size 148804 diff --git a/libeconf.changes b/libeconf.changes index b036d88..2baf201 100644 --- a/libeconf.changes +++ b/libeconf.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Fri Mar 24 15:12:18 UTC 2023 - schubi@suse.com + +- Update to version 0.5.2: + * Fixed build for aarch64 and gcc13. + * Making the output verbose when a test fails. + * Fixed a stack-buffer-overflow vulnerability in "econf_writeFile" + function. + * Fixed a stack-buffer-overflow vulnerability in "read_file" + function. + * Added new feature: econf_set_conf_dirs (const char **dir_postfix_list) + Sets a list of directory structures (with order) which describes + the directories in which the files have to be parsed. + E.G. with the given list: {"/conf.d/", ".d/", "/", NULL} files in following + directories will be parsed: + "/..d/" + "//conf.d/" + "/.d/" + "//" + The entry "/..d/" will be added + automatically. + * General code cleanup. + ------------------------------------------------------------------- Thu Jan 19 15:58:59 UTC 2023 - schubi@suse.com diff --git a/libeconf.spec b/libeconf.spec index 43e504e..5024cdd 100644 --- a/libeconf.spec +++ b/libeconf.spec @@ -18,7 +18,7 @@ %define lname libeconf0 Name: libeconf -Version: 0.5.1 +Version: 0.5.2 Release: 0 Summary: Enhanced config file parser ala systemd License: LGPL-2.1-or-later