Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libisofs for openSUSE:Factory 
checked in at 2026-07-08 17:35:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libisofs (Old)
 and      /work/SRC/openSUSE:Factory/.libisofs.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libisofs"

Wed Jul  8 17:35:15 2026 rev:14 rq:1364034 version:1.5.8.pl02

Changes:
--------
--- /work/SRC/openSUSE:Factory/libisofs/libisofs.changes        2026-07-06 
12:28:46.959999670 +0200
+++ /work/SRC/openSUSE:Factory/.libisofs.new.1982/libisofs.changes      
2026-07-08 17:37:01.698494179 +0200
@@ -1,0 +2,9 @@
+Fri Jul  3 14:48:38 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.5.8.pl02:
+  * Bug fix: iso_local_get_projid() without flag bit5 returned
+  * ISO_PROJID_NO_OPEN_LOCAL on dangling symlinks
+  * Bug fix: Compile time error with --disable-lfa-flags
+    --enable-projid
+
+-------------------------------------------------------------------

Old:
----
  libisofs-1.5.8.pl01.tar.gz
  libisofs-1.5.8.pl01.tar.gz.asc

New:
----
  libisofs-1.5.8.pl02.tar.gz
  libisofs-1.5.8.pl02.tar.gz.asc

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

Other differences:
------------------
++++++ libisofs.spec ++++++
--- /var/tmp/diff_new_pack.Zfz1mc/_old  2026-07-08 17:37:02.582525369 +0200
+++ /var/tmp/diff_new_pack.Zfz1mc/_new  2026-07-08 17:37:02.582525369 +0200
@@ -19,7 +19,7 @@
 
 %define so_ver 6
 %define tarversion 1.5.8
-%define patchlevel pl01
+%define patchlevel pl02
 Name:           libisofs
 Version:        %{tarversion}.%{patchlevel}
 Release:        0

++++++ libisofs-1.5.8.pl01.tar.gz -> libisofs-1.5.8.pl02.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libisofs-1.5.8/ChangeLog new/libisofs-1.5.8/ChangeLog
--- old/libisofs-1.5.8/ChangeLog        2026-04-07 10:21:58.000000000 +0200
+++ new/libisofs-1.5.8/ChangeLog        2026-05-22 16:04:58.000000000 +0200
@@ -1,3 +1,9 @@
+libisofs-1.5.8.pl02.tar.gz Fri May 22 2026
+===============================================================================
+* Bug fix: iso_local_get_projid() without flag bit5 returned
+         ISO_PROJID_NO_OPEN_LOCAL on dangling symlinks
+* Bug fix: Compile time error with --disable-lfa-flags --enable-projid
+
 libisofs-1.5.8.pl01.tar.gz Tue Apr 07 2026
 ===============================================================================
 * Bug fix: iso_image_set_ignore_aclea() inverted the setting for reading
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libisofs-1.5.8/libisofs/aaip-os-linux.c 
new/libisofs-1.5.8/libisofs/aaip-os-linux.c
--- old/libisofs-1.5.8/libisofs/aaip-os-linux.c 2026-04-07 10:21:39.000000000 
+0200
+++ new/libisofs-1.5.8/libisofs/aaip-os-linux.c 2026-05-22 16:04:20.000000000 
+0200
@@ -7,7 +7,7 @@
 
  To be included by aaip_0_2.c for Linux
 
- Copyright (c) 2009 - 2025 Thomas Schmitt
+ Copyright (c) 2009 - 2026 Thomas Schmitt
 
  This file is part of the libisofs project; you can redistribute it and/or
  modify it under the terms of the GNU General Public License version 2
@@ -43,7 +43,18 @@
 #endif
 #endif
 
+#ifdef Libisofs_include_ioctl_fs_H
+#undef Libisofs_include_ioctl_fs_H
+#endif
 #ifdef Libisofs_with_aaip_lfa_flagS
+#define Libisofs_include_ioctl_fs_H yes
+#else
+#ifdef Libisofs_with_aaip_projiD
+#define Libisofs_include_ioctl_fs_H yes
+#endif /* ! Libisofs_with_aaip_projiD */
+#endif /* ! Libisofs_with_aaip_lfa_flagS */
+
+#ifdef Libisofs_include_ioctl_fs_H
 #include <sys/ioctl.h>
 #include <linux/fs.h>
 #endif
@@ -112,7 +123,6 @@
 /* Report an error with local ACL or xattr calls.
    @param flag bit0-7: mode 0=NO_GET_LOCAL , 1=NO_SET_LOCAL
 */
-static
 void aaip_local_error(char *function_name, char *path, int err, int flag)
 {
  int mode, err_code;
@@ -321,16 +331,20 @@
  ssize_t value_ret, list_size= 0;
 #define Libisofs_aaip_get_attr_activE yes
 #endif
-#ifdef Libisofs_aaip_get_attr_activE
- ssize_t i, num_names= 0;
-#endif
 #ifdef Libisofs_with_aaip_lfa_flagS
  uint64_t lfa_flags;
  int max_bit, os_errno, lfa_length;
  unsigned char lfa_value[8];
+#define Libisofs_aaip_get_attr_activE yes
 #endif
 #ifdef Libisofs_with_aaip_projiD
  uint32_t projid;
+ int projid_os_errno, projid_length;
+ unsigned char projid_value[8];
+#define Libisofs_aaip_get_attr_activE yes
+#endif
+#ifdef Libisofs_aaip_get_attr_activE
+ ssize_t i, num_names= 0;
 #endif
 
  if(flag & (1 << 15)) { /* Free memory */
@@ -405,7 +419,7 @@
 #ifdef Libisofs_with_aaip_projiD
 
  if(!(flag & 256)) {
-   ret= iso_local_get_projid(path, &projid, &os_errno, 0);
+   ret= iso_local_get_projid(path, &projid, &projid_os_errno, 0);
    if(ret > 0 && projid != 0)
      num_names++;
  }
@@ -474,10 +488,10 @@
    (*num_attrs)++;
  }
 
-#endif /* Libisofs_with_aaip_acL */
-
 try_lfa_flags:;
 
+#endif /* Libisofs_with_aaip_acL */
+
 #ifdef Libisofs_with_aaip_lfa_flagS
 
  if(!(flag & 64)) {
@@ -509,19 +523,20 @@
 #ifdef Libisofs_with_aaip_projiD
 
  if(!(flag & 256)) {
-   ret= iso_local_get_projid(path,  &projid, &os_errno, 0);
+   ret= iso_local_get_projid(path, &projid, &projid_os_errno, 0);
    if(ret > 0 && projid != 0) {
      /* Encode as big-endian number with no trailing 0-bytes */
-     ret= aaip_encode_uint64((uint64_t) projid, lfa_value, &lfa_length, 0);
+     ret= aaip_encode_uint64((uint64_t) projid, projid_value, &projid_length,
+                             0);
      if(ret > 0) {
        (*names)[*num_attrs]= strdup("isofs.pi");
        if((*names)[*num_attrs] == NULL)
          {ret= -1; goto ex;}
-       (*values)[*num_attrs]= calloc(lfa_length, 1);
+       (*values)[*num_attrs]= calloc(projid_length, 1);
        if((*values)[*num_attrs] == NULL)
          {ret= -1; goto ex;}
-       memcpy((*values)[*num_attrs], (char *) lfa_value, lfa_length);
-       (*value_lengths)[*num_attrs]= lfa_length;
+       memcpy((*values)[*num_attrs], (char *) projid_value, projid_length);
+       (*value_lengths)[*num_attrs]= projid_length;
        (*num_attrs)++;
      }
    }
@@ -770,7 +785,7 @@
 }
 
 
-static void register_errno(int *errnos, int i)
+void register_errno(int *errnos, int i)
 {
  if(errno > 0)
    errnos[i]= errno;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libisofs-1.5.8/libisofs/fs_local.c 
new/libisofs-1.5.8/libisofs/fs_local.c
--- old/libisofs-1.5.8/libisofs/fs_local.c      2024-10-27 00:15:26.000000000 
+0200
+++ new/libisofs-1.5.8/libisofs/fs_local.c      2026-05-22 16:04:01.000000000 
+0200
@@ -1069,10 +1069,13 @@
 
     *projid = 0;
     *os_errno = 0;
-    if (flag & 32)
+    if (flag & 32) {
         ret = stat(disk_path, &stbuf);
-    else
+    } else {
         ret = lstat(disk_path, &stbuf);
+        if (ret == 0 && S_ISLNK(stbuf.st_mode))
+            return(3);
+    }
     if (ret == -1) {
         *os_errno = errno;
         return ISO_FILE_DOESNT_EXIST;
@@ -1083,7 +1086,7 @@
     if(ret == -1)
         return ISO_PROJID_NO_OPEN_LOCAL;
     if(ret < 0)
-        return ISO_PROJID_NO_SET_LOCAL;
+        return ISO_PROJID_NO_GET_LOCAL;
     return ret;
 }
 

++++++ libisofs-1.5.8.pl01.tar.gz.asc -> libisofs-1.5.8.pl02.tar.gz.asc ++++++
--- /work/SRC/openSUSE:Factory/libisofs/libisofs-1.5.8.pl01.tar.gz.asc  
2026-07-06 12:28:46.767993009 +0200
+++ 
/work/SRC/openSUSE:Factory/.libisofs.new.1982/libisofs-1.5.8.pl02.tar.gz.asc    
    2026-07-08 17:37:01.418484300 +0200
@@ -2,7 +2,7 @@
 Version: GnuPG v1
 Comment: Use "gpg --dearmor" for unpacking
 
-iEYEABECAAYFAmnUwnEACgkQ6cvfwKvAqFRDgACfaWS9yDYygjUVSsLOMM2h6trB
-ElcAn2CeewaavyD8CLkl0fXkfQtxgpwt
-=whPX
+iEYEABECAAYFAmoQYrcACgkQ6cvfwKvAqFSlWwCeNlyZpqF+D4EZ5hVPzkNSrtwa
+D/AAoL/PfaZFPKKhedv7Gbi3XHrY3cDc
+=KWap
 -----END PGP ARMORED FILE-----

Reply via email to