Skip to content

Releases: openSUSE/libeconf

Release Version 0.7.4

26 Sep 10:56
b66629f
Compare
Choose a tag to compare

Version 0.7.4

  • Fixed memory leaks.

Release Version 0.7.3

26 Sep 10:08
Compare
Choose a tag to compare

Version 0.7.3

  • Fixed: econf_readDirs crashes if one of the paths is NULL (#211)
  • Handle groups correctly which do not have any key entry.
  • Added links to man page. E.g. "man econf_readConfig" is working now.

Release Version 0.7.2

14 Jun 07:25
Compare
Choose a tag to compare

Version 0.7.2

  • Do not check errno while float conversion. This is a false alarm for
    S390 and PPC. (#210).

Release Version 0.7.1

10 Jun 07:27
Compare
Choose a tag to compare

Version 0.7.1

  • Improved error handling while parsing values with the wrong format.
    Added new return value ECONF_VALUE_CONVERSION_ERROR.
  • Setting parsing options via econf_file struct.
    see econf_newKeyFile_with_options. These options will be used by
    econf_readConfig and econf_readConfigWithCallback.
    Following options are supported:
    JOIN_SAME_ENTRIES (default 0)
    Parsed entries with the same name will not be replaces but
    will be joined to one entry.
    PYTHON_STYLE (default 0)
    E.G. Identations will be handled like multiline entries.
    PARSING_DIRS (default /usr/etc/:/run:/etc)
    List of directories from which the configuration files have to be parsed.
    The list is a string, divides by ":". The last entry has the highest
    priority. E.g.: "PARSING_DIRS=/usr/etc/:/run:/etc"
    CONFIG_DIRS (default )
    List of directory structures (with order) which describes the directories
    in which the files have to be parsed.
    The list is a string, divides by ":". The last entry has the highest
    priority. E.g. with the given list: "CONFIG_DIRS=.conf.d:.d" files in
    following directories will be parsed:
    "<default_dirs>/<config_name>.conf.d/"
    "<default_dirs>/<config_name>.d/"
    "<default_dirs>/<config_name>/"
  • CAUTION: From now on every econf_file element MUST be intialized if
    econf_readConfig and econf_readConfigWithCallback is used.
    Either with NULL or:
    econf_file *key_file = NULL;
    if (error = econf_newKeyFile_with_options(&key_file, "PYTHON_STYLE=1"))
    {
    fprintf (stderr, "ERROR: couldn't create new key file: %s\n",
    econf_errString(error));
    return 1;
    }
    error = econf_readConfig (&key_file,
    "foo",
    "/usr/lib",
    "example",
    "conf",
    "=", "#");

Release Version 0.6.3

12 Apr 10:17
4171148
Compare
Choose a tag to compare

Version 0.6.3

  • fixed build with musl libc on ppc64le
  • creating static libeconf.a

Release Version 0.6.2

06 Mar 09:54
Compare
Choose a tag to compare

Version 0.6.2

  • fixed RESOURCE_LEAK (CWE-772) and UNINIT (CWE-457)

Release Version 0.6.1

22 Jan 14:10
Compare
Choose a tag to compare

Version 0.6.1

  • Reading lines which are greater than BUFSIZ.

Release Version 0.6.0

08 Nov 12:16
Compare
Choose a tag to compare

Version 0.6.0

Release Version 0.5.3

03 Nov 16:36
Compare
Choose a tag to compare

Version 0.5.3

Release Version 0.5.2

24 Mar 15:10
535641c
Compare
Choose a tag to compare

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.