Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libfsntfs for openSUSE:Factory 
checked in at 2023-06-11 19:54:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libfsntfs (Old)
 and      /work/SRC/openSUSE:Factory/.libfsntfs.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libfsntfs"

Sun Jun 11 19:54:24 2023 rev:20 rq:1091714 version:20230606

Changes:
--------
--- /work/SRC/openSUSE:Factory/libfsntfs/libfsntfs.changes      2023-05-01 
18:51:32.725484934 +0200
+++ /work/SRC/openSUSE:Factory/.libfsntfs.new.15902/libfsntfs.changes   
2023-06-11 19:57:15.759876988 +0200
@@ -1,0 +2,6 @@
+Thu Jun  8 14:12:44 UTC 2023 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 20230606
+  * Updates to format support and documentation
+
+-------------------------------------------------------------------

Old:
----
  libfsntfs-experimental-20230427.tar.gz
  libfsntfs-experimental-20230427.tar.gz.asc

New:
----
  libfsntfs-experimental-20230606.tar.gz
  libfsntfs-experimental-20230606.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libfsntfs.spec ++++++
--- /var/tmp/diff_new_pack.UGvZBo/_old  2023-06-11 19:57:16.299880245 +0200
+++ /var/tmp/diff_new_pack.UGvZBo/_new  2023-06-11 19:57:16.303880269 +0200
@@ -18,7 +18,7 @@
 
 %define lname  libfsntfs1
 Name:           libfsntfs
-Version:        20230427
+Version:        20230606
 Release:        0
 Summary:        Library and tools to access the NTFS filesystem
 License:        GFDL-1.3-or-later AND LGPL-3.0-or-later

++++++ libfsntfs-experimental-20230427.tar.gz -> 
libfsntfs-experimental-20230606.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfsntfs-20230427/common/config.h 
new/libfsntfs-20230606/common/config.h
--- old/libfsntfs-20230427/common/config.h      2023-04-29 09:19:24.000000000 
+0200
+++ new/libfsntfs-20230606/common/config.h      2023-06-06 21:51:24.000000000 
+0200
@@ -614,7 +614,7 @@
 #define PACKAGE_NAME "libfsntfs"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libfsntfs 20230427"
+#define PACKAGE_STRING "libfsntfs 20230606"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "libfsntfs"
@@ -623,7 +623,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "20230427"
+#define PACKAGE_VERSION "20230606"
 
 /* The size of `int', as computed by sizeof. */
 #define SIZEOF_INT 4
@@ -652,7 +652,7 @@
 /* #undef TM_IN_SYS_TIME */
 
 /* Version number of package */
-#define VERSION "20230427"
+#define VERSION "20230606"
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfsntfs-20230427/configure 
new/libfsntfs-20230606/configure
--- old/libfsntfs-20230427/configure    2023-04-29 09:19:06.000000000 +0200
+++ new/libfsntfs-20230606/configure    2023-06-06 21:51:06.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for libfsntfs 20230427.
+# Generated by GNU Autoconf 2.71 for libfsntfs 20230606.
 #
 # Report bugs to <joachim.m...@gmail.com>.
 #
@@ -621,8 +621,8 @@
 # Identity of this package.
 PACKAGE_NAME='libfsntfs'
 PACKAGE_TARNAME='libfsntfs'
-PACKAGE_VERSION='20230427'
-PACKAGE_STRING='libfsntfs 20230427'
+PACKAGE_VERSION='20230606'
+PACKAGE_STRING='libfsntfs 20230606'
 PACKAGE_BUGREPORT='joachim.m...@gmail.com'
 PACKAGE_URL=''
 
@@ -1743,7 +1743,7 @@
   # 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 libfsntfs 20230427 to adapt to many kinds of systems.
+\`configure' configures libfsntfs 20230606 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1814,7 +1814,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libfsntfs 20230427:";;
+     short | recursive ) echo "Configuration of libfsntfs 20230606:";;
    esac
   cat <<\_ACEOF
 
@@ -2103,7 +2103,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libfsntfs configure 20230427
+libfsntfs configure 20230606
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2824,7 +2824,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libfsntfs $as_me 20230427, which was
+It was created by libfsntfs $as_me 20230606, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -4313,7 +4313,7 @@
 
 # Define the identity of the package.
  PACKAGE='libfsntfs'
- VERSION='20230427'
+ VERSION='20230606'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -62381,7 +62381,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libfsntfs $as_me 20230427, which was
+This file was extended by libfsntfs $as_me 20230606, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -62449,7 +62449,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libfsntfs config.status 20230427
+libfsntfs config.status 20230606
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfsntfs-20230427/configure.ac 
new/libfsntfs-20230606/configure.ac
--- old/libfsntfs-20230427/configure.ac 2023-04-27 18:30:55.000000000 +0200
+++ new/libfsntfs-20230606/configure.ac 2023-06-06 20:54:53.000000000 +0200
@@ -2,7 +2,7 @@
 
 AC_INIT(
  [libfsntfs],
- [20230427],
+ [20230606],
  [joachim.m...@gmail.com])
 
 AC_CONFIG_SRCDIR(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfsntfs-20230427/dpkg/changelog 
new/libfsntfs-20230606/dpkg/changelog
--- old/libfsntfs-20230427/dpkg/changelog       2023-04-29 09:19:24.000000000 
+0200
+++ new/libfsntfs-20230606/dpkg/changelog       2023-06-06 21:51:24.000000000 
+0200
@@ -1,5 +1,5 @@
-libfsntfs (20230427-1) unstable; urgency=low
+libfsntfs (20230606-1) unstable; urgency=low
 
   * Auto-generated
 
- -- Joachim Metz <joachim.m...@gmail.com>  Sat, 29 Apr 2023 09:19:23 +0200
+ -- Joachim Metz <joachim.m...@gmail.com>  Tue, 06 Jun 2023 21:51:23 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfsntfs-20230427/include/libfsntfs/definitions.h 
new/libfsntfs-20230606/include/libfsntfs/definitions.h
--- old/libfsntfs-20230427/include/libfsntfs/definitions.h      2023-04-29 
09:19:24.000000000 +0200
+++ new/libfsntfs-20230606/include/libfsntfs/definitions.h      2023-06-06 
21:51:24.000000000 +0200
@@ -24,11 +24,11 @@
 
 #include <libfsntfs/types.h>
 
-#define LIBFSNTFS_VERSION                                      20230427
+#define LIBFSNTFS_VERSION                                      20230606
 
 /* The version string
  */
-#define LIBFSNTFS_VERSION_STRING                               "20230427"
+#define LIBFSNTFS_VERSION_STRING                               "20230606"
 
 /* The file access
  * bit 1        set to 1 for read access
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfsntfs-20230427/libfsntfs/libfsntfs.rc 
new/libfsntfs-20230606/libfsntfs/libfsntfs.rc
--- old/libfsntfs-20230427/libfsntfs/libfsntfs.rc       2023-04-29 
09:19:24.000000000 +0200
+++ new/libfsntfs-20230606/libfsntfs/libfsntfs.rc       2023-06-06 
21:51:24.000000000 +0200
@@ -22,12 +22,12 @@
     BLOCK "040904E4"
     BEGIN
       VALUE "FileDescription",         "Library to access the Windows New 
Technology File System (NTFS) format\0"
-      VALUE "FileVersion",             "20230427" "\0"
+      VALUE "FileVersion",             "20230606" "\0"
       VALUE "InternalName",            "libfsntfs.dll\0"
       VALUE "LegalCopyright",          "(C) 2010-2023, Joachim Metz 
<joachim.m...@gmail.com>\0"
       VALUE "OriginalFilename",                "libfsntfs.dll\0"
       VALUE "ProductName",             "libfsntfs\0"
-      VALUE "ProductVersion",          "20230427" "\0"
+      VALUE "ProductVersion",          "20230606" "\0"
       VALUE "Comments",                        "For more information visit 
https://github.com/libyal/libfsntfs/\0";
     END
   END
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfsntfs-20230427/libfsntfs/libfsntfs_attribute.c 
new/libfsntfs-20230606/libfsntfs/libfsntfs_attribute.c
--- old/libfsntfs-20230427/libfsntfs/libfsntfs_attribute.c      2023-04-27 
18:31:02.000000000 +0200
+++ new/libfsntfs-20230606/libfsntfs/libfsntfs_attribute.c      2023-06-06 
20:55:03.000000000 +0200
@@ -204,7 +204,7 @@
        }
        if( *internal_attribute != NULL )
        {
-               /* The mft_attribute references is freed elsewhere
+               /* The mft_attribute reference is freed elsewhere
                 */
 #if defined( HAVE_LIBFSNTFS_MULTI_THREAD_SUPPORT )
                if( libcthreads_read_write_lock_free(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfsntfs-20230427/libfsntfs/libfsntfs_definitions.h 
new/libfsntfs-20230606/libfsntfs/libfsntfs_definitions.h
--- old/libfsntfs-20230427/libfsntfs/libfsntfs_definitions.h    2023-04-29 
09:19:24.000000000 +0200
+++ new/libfsntfs-20230606/libfsntfs/libfsntfs_definitions.h    2023-06-06 
21:51:24.000000000 +0200
@@ -39,11 +39,11 @@
  * for local use of libfsntfs
  */
 #else
-#define LIBFSNTFS_VERSION                                              20230427
+#define LIBFSNTFS_VERSION                                              20230606
 
 /* The version string
  */
-#define LIBFSNTFS_VERSION_STRING                                       
"20230427"
+#define LIBFSNTFS_VERSION_STRING                                       
"20230606"
 
 /* The file access
  * bit 1        set to 1 for read access
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfsntfs-20230427/libfsntfs/libfsntfs_mft_entry.c 
new/libfsntfs-20230606/libfsntfs/libfsntfs_mft_entry.c
--- old/libfsntfs-20230427/libfsntfs/libfsntfs_mft_entry.c      2023-04-27 
18:31:02.000000000 +0200
+++ new/libfsntfs-20230606/libfsntfs/libfsntfs_mft_entry.c      2023-06-06 
21:17:16.000000000 +0200
@@ -2460,7 +2460,7 @@
      libfsntfs_mft_attribute_t *attribute,
      libcerror_error_t **error )
 {
-       uint8_t utf8_attribute_name[ 64 ];
+       uint8_t utf8_attribute_name[ 8 ];
 
        static char *function                                                = 
"libfsntfs_mft_entry_set_attribute_helper_values";
        size_t utf8_attribute_name_size                                      = 
0;
@@ -2537,10 +2537,17 @@
                        break;
 
                case LIBFSNTFS_ATTRIBUTE_TYPE_INDEX_ROOT:
+                       /* Only interested in attribute names that would match 
$I30
+                        */
+                       if( ( utf8_attribute_name_size == 0 )
+                        || ( utf8_attribute_name_size > 8 ) )
+                       {
+                               break;
+                       }
                        if( libfsntfs_mft_attribute_get_utf8_name(
                             attribute,
                             utf8_attribute_name,
-                            64,
+                            utf8_attribute_name_size,
                             error ) != 1 )
                        {
                                libcerror_error_set(
@@ -2727,9 +2734,8 @@
      libfsntfs_mft_attribute_t *data_attribute,
      libcerror_error_t **error )
 {
-       uint8_t utf8_attribute_name[ 64 ];
-
        libfsntfs_mft_attribute_t *existing_data_attribute = NULL;
+       uint8_t *utf8_attribute_name                       = NULL;
        static char *function                              = 
"libfsntfs_mft_entry_set_data_attribute_helper_values";
        size_t utf8_attribute_name_size                    = 0;
        int attribute_index                                = 0;
@@ -2759,7 +2765,7 @@
                 "%s: unable to retrieve UTF-8 attribute name size.",
                 function );
 
-               return( -1 );
+               goto on_error;
        }
        if( utf8_attribute_name_size <= 1 )
        {
@@ -2775,15 +2781,40 @@
                         "%s: unable to chain attribute.",
                         function );
 
-                       return( -1 );
+                       goto on_error;
                }
        }
        else
        {
+               if( utf8_attribute_name_size > (size_t) 
MEMORY_MAXIMUM_ALLOCATION_SIZE )
+               {
+                       libcerror_error_set(
+                        error,
+                        LIBCERROR_ERROR_DOMAIN_ARGUMENTS,
+                        LIBCERROR_ARGUMENT_ERROR_VALUE_OUT_OF_BOUNDS,
+                        "%s: invalid UTF-8 attribute name size value out of 
bounds.",
+                        function );
+
+                       goto on_error;
+               }
+               utf8_attribute_name = (uint8_t *) memory_allocate(
+                                                  (size_t) 
utf8_attribute_name_size );
+
+               if( utf8_attribute_name == NULL )
+               {
+                       libcerror_error_set(
+                        error,
+                        LIBCERROR_ERROR_DOMAIN_MEMORY,
+                        LIBCERROR_MEMORY_ERROR_INSUFFICIENT,
+                        "%s: unable to create UTF-8 attribute name.",
+                        function );
+
+                       goto on_error;
+               }
                if( libfsntfs_mft_attribute_get_utf8_name(
                     data_attribute,
                     utf8_attribute_name,
-                    64,
+                    utf8_attribute_name_size,
                     error ) != 1 )
                {
                        libcerror_error_set(
@@ -2793,7 +2824,7 @@
                         "%s: unable to retrieve UTF-8 attribute name.",
                         function );
 
-                       return( -1 );
+                       goto on_error;
                }
                result = libfsntfs_mft_entry_get_data_attribute_by_utf8_name(
                          mft_entry,
@@ -2812,7 +2843,7 @@
                         "%s: unable to retrieve data attribute.",
                         function );
 
-                       return( -1 );
+                       goto on_error;
                }
                else if( result == 0 )
                {
@@ -2829,7 +2860,7 @@
                                 "%s: unable to append alternate data attribute 
to array.",
                                 function );
 
-                               return( -1 );
+                               goto on_error;
                        }
                        existing_data_attribute = data_attribute;
                }
@@ -2847,7 +2878,7 @@
                                 "%s: unable to chain alternate data 
attribute.",
                                 function );
 
-                               return( -1 );
+                               goto on_error;
                        }
                        if( libcdata_array_set_entry_by_index(
                             mft_entry->alternate_data_attributes_array,
@@ -2863,9 +2894,14 @@
                                 function,
                                 attribute_index );
 
-                               return( -1 );
+                               goto on_error;
                        }
                }
+               memory_free(
+                utf8_attribute_name );
+
+               utf8_attribute_name = NULL;
+
                result = libfsntfs_mft_attribute_compare_name_with_utf8_string(
                          data_attribute,
                          (uint8_t *) "WofCompressedData",
@@ -2881,7 +2917,7 @@
                         "%s: unable to compare UTF-8 string with alternative 
data attribute name.",
                         function );
 
-                       return( -1 );
+                       goto on_error;
                }
                else if( result == 1 )
                {
@@ -2889,6 +2925,14 @@
                }
        }
        return( 1 );
+
+on_error:
+       if( utf8_attribute_name != NULL )
+       {
+               memory_free(
+                utf8_attribute_name );
+       }
+       return( -1 );
 }
 
 /* Retrieves a data attribute with the specified name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libfsntfs-20230427/libfsntfs.spec 
new/libfsntfs-20230606/libfsntfs.spec
--- old/libfsntfs-20230427/libfsntfs.spec       2023-04-29 09:19:24.000000000 
+0200
+++ new/libfsntfs-20230606/libfsntfs.spec       2023-06-06 21:51:24.000000000 
+0200
@@ -1,5 +1,5 @@
 Name: libfsntfs
-Version: 20230427
+Version: 20230606
 Release: 1
 Summary: Library to access the Windows New Technology File System (NTFS) format
 Group: System Environment/Libraries
@@ -101,6 +101,6 @@
 %{_mandir}/man1/*
 
 %changelog
-* Sat Apr 29 2023 Joachim Metz <joachim.m...@gmail.com> 20230427-1
+* Tue Jun  6 2023 Joachim Metz <joachim.m...@gmail.com> 20230606-1
 - Auto-generated
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libfsntfs-20230427/tests/fsntfs_test_reparse_point_attribute.c 
new/libfsntfs-20230606/tests/fsntfs_test_reparse_point_attribute.c
--- old/libfsntfs-20230427/tests/fsntfs_test_reparse_point_attribute.c  
2023-04-27 18:31:04.000000000 +0200
+++ new/libfsntfs-20230606/tests/fsntfs_test_reparse_point_attribute.c  
2023-06-06 20:55:06.000000000 +0200
@@ -1089,6 +1089,23 @@
         "error",
         error );
 
+       result = libfsntfs_mft_attribute_free(
+                 &mft_attribute,
+                 &error );
+
+       FSNTFS_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
+
+       FSNTFS_TEST_ASSERT_IS_NULL(
+        "attribute",
+        attribute );
+
+       FSNTFS_TEST_ASSERT_IS_NULL(
+        "error",
+        error );
+
        result = libfsntfs_io_handle_free(
                  &io_handle,
                  &error );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libfsntfs-20230427/tests/fsntfs_test_volume_information_attribute.c 
new/libfsntfs-20230606/tests/fsntfs_test_volume_information_attribute.c
--- old/libfsntfs-20230427/tests/fsntfs_test_volume_information_attribute.c     
2023-04-27 18:31:04.000000000 +0200
+++ new/libfsntfs-20230606/tests/fsntfs_test_volume_information_attribute.c     
2023-06-06 20:55:06.000000000 +0200
@@ -456,6 +456,23 @@
         "error",
         error );
 
+       result = libfsntfs_mft_attribute_free(
+                 &mft_attribute,
+                 &error );
+
+       FSNTFS_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
+
+       FSNTFS_TEST_ASSERT_IS_NULL(
+        "attribute",
+        attribute );
+
+       FSNTFS_TEST_ASSERT_IS_NULL(
+        "error",
+        error );
+
        result = libfsntfs_io_handle_free(
                  &io_handle,
                  &error );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libfsntfs-20230427/tests/fsntfs_test_volume_name_attribute.c 
new/libfsntfs-20230606/tests/fsntfs_test_volume_name_attribute.c
--- old/libfsntfs-20230427/tests/fsntfs_test_volume_name_attribute.c    
2023-04-27 18:31:04.000000000 +0200
+++ new/libfsntfs-20230606/tests/fsntfs_test_volume_name_attribute.c    
2023-06-06 20:55:06.000000000 +0200
@@ -680,6 +680,23 @@
         "error",
         error );
 
+       result = libfsntfs_mft_attribute_free(
+                 &mft_attribute,
+                 &error );
+
+       FSNTFS_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
+
+       FSNTFS_TEST_ASSERT_IS_NULL(
+        "attribute",
+        attribute );
+
+       FSNTFS_TEST_ASSERT_IS_NULL(
+        "error",
+        error );
+
        result = libfsntfs_io_handle_free(
                  &io_handle,
                  &error );

Reply via email to