]> git.sven.stormbind.net Git - sven/exfatprogs.git/commitdiff
New upstream version 1.2.4 upstream upstream/1.2.4
authorSven Hoexter <sven@stormbind.net>
Mon, 17 Jun 2024 09:45:20 +0000 (11:45 +0200)
committerSven Hoexter <sven@stormbind.net>
Mon, 17 Jun 2024 09:45:20 +0000 (11:45 +0200)
NEWS
configure
include/version.h
lib/exfat_fs.c
lib/libexfat.c

diff --git a/NEWS b/NEWS
index a72c9c6ef0ee559701c2eb98b43135d52465c609..072344e10c7fbf67d4e37af3e2fa0761528f4ae5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+exfatprogs 1.2.4 - released 2024-06-17
+======================================
+
+BUG FIXES :
+ * tune.exfat: Fix "invalid serial number" error when
+   setting an serial number.
+ * fsck.exfat: Fix memory leak in an error path
+
 exfatprogs 1.2.3 - released 2024-05-23
 ======================================
 
index 2bb25c366c26720da32458a9c7345cbac4c93694..f1e6d79700a610d23bdf740493f5d2f658b5eb7d 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for exfatprogs 1.2.3.
+# Generated by GNU Autoconf 2.69 for exfatprogs 1.2.4.
 #
 # Report bugs to <linkinjeon@kernel.org>.
 #
@@ -590,8 +590,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='exfatprogs'
 PACKAGE_TARNAME='exfatprogs'
-PACKAGE_VERSION='1.2.3'
-PACKAGE_STRING='exfatprogs 1.2.3'
+PACKAGE_VERSION='1.2.4'
+PACKAGE_STRING='exfatprogs 1.2.4'
 PACKAGE_BUGREPORT='linkinjeon@kernel.org'
 PACKAGE_URL='https://github.com/exfatprogs/exfatprogs'
 
@@ -1325,7 +1325,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures exfatprogs 1.2.3 to adapt to many kinds of systems.
+\`configure' configures exfatprogs 1.2.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1396,7 +1396,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of exfatprogs 1.2.3:";;
+     short | recursive ) echo "Configuration of exfatprogs 1.2.4:";;
    esac
   cat <<\_ACEOF
 
@@ -1508,7 +1508,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-exfatprogs configure 1.2.3
+exfatprogs configure 1.2.4
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1786,7 +1786,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by exfatprogs $as_me 1.2.3, which was
+It was created by exfatprogs $as_me 1.2.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2654,7 +2654,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='exfatprogs'
- VERSION='1.2.3'
+ VERSION='1.2.4'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -13253,7 +13253,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by exfatprogs $as_me 1.2.3, which was
+This file was extended by exfatprogs $as_me 1.2.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -13320,7 +13320,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-exfatprogs config.status 1.2.3
+exfatprogs config.status 1.2.4
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
index bef66aaf42179ad61334546f9f78990a9438b5ae..31f150eebe25d228278ff09cc7e0d95ba66fc4d9 100644 (file)
@@ -5,6 +5,6 @@
 
 #ifndef _VERSION_H
 
-#define EXFAT_PROGS_VERSION "1.2.3"
+#define EXFAT_PROGS_VERSION "1.2.4"
 
 #endif /* !_VERSION_H */
index be76e5974e704a91868c41ad7a3a2392d0bfcd58..b24f5321b9b9d88dcfb85d5d815d64e6d73c7449 100644 (file)
@@ -128,8 +128,10 @@ struct exfat *exfat_alloc_exfat(struct exfat_blk_dev *blk_dev, struct pbr *bs)
        struct exfat *exfat;
 
        exfat = calloc(1, sizeof(*exfat));
-       if (!exfat)
+       if (!exfat) {
+               free(bs);
                return NULL;
+       }
 
        INIT_LIST_HEAD(&exfat->dir_list);
        exfat->blk_dev = blk_dev;
index 0bcb4a42aef34774930c86202afd247ef7fca218..9cc184fbdd327ca37d2ecea6897330291e12cada 100644 (file)
@@ -1046,6 +1046,8 @@ int exfat_parse_ulong(const char *s, unsigned long *out)
 {
        char *endptr;
 
+       errno = 0;
+
        *out = strtoul(s, &endptr, 0);
 
        if (errno)