Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsemanage for openSUSE:Factory 
checked in at 2024-07-12 17:04:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsemanage (Old)
 and      /work/SRC/openSUSE:Factory/.libsemanage.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsemanage"

Fri Jul 12 17:04:20 2024 rev:61 rq:1185747 version:3.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsemanage/libsemanage.changes  2024-01-08 
23:44:02.851662163 +0100
+++ /work/SRC/openSUSE:Factory/.libsemanage.new.17339/libsemanage.changes       
2024-07-12 17:04:24.699608324 +0200
@@ -1,0 +2,8 @@
+Mon Jul  1 07:57:45 UTC 2024 - Cathy Hu <cathy...@suse.com>
+
+- Update to version 3.7
+  https://github.com/SELinuxProject/selinux/releases/tag/3.7
+  * Bugfixes: 
+    * libsemanage: support huge passwd entries
+
+-------------------------------------------------------------------
python-semanage.changes: same change

Old:
----
  libsemanage-3.6.tar.gz
  libsemanage-3.6.tar.gz.asc

New:
----
  libsemanage-3.7.tar.gz
  libsemanage-3.7.tar.gz.asc

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

Other differences:
------------------
++++++ libsemanage.spec ++++++
--- /var/tmp/diff_new_pack.HYwCUj/_old  2024-07-12 17:04:25.863651093 +0200
+++ /var/tmp/diff_new_pack.HYwCUj/_new  2024-07-12 17:04:25.863651093 +0200
@@ -20,7 +20,7 @@
 %define libname libsemanage%{soversion}
 
 Name:           libsemanage
-Version:        3.6
+Version:        3.7
 Release:        0
 Summary:        SELinux policy management library
 License:        LGPL-2.1-or-later

++++++ python-semanage.spec ++++++
--- /var/tmp/diff_new_pack.HYwCUj/_old  2024-07-12 17:04:25.887651975 +0200
+++ /var/tmp/diff_new_pack.HYwCUj/_new  2024-07-12 17:04:25.891652122 +0200
@@ -20,12 +20,12 @@
 %define soversion 2
 %define libname libsemanage%{soversion}
 
-%define libsepol_ver     3.6
-%define libselinux_ver   3.6
+%define libsepol_ver     3.7
+%define libselinux_ver   3.7
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-semanage
-Version:        3.6
+Version:        3.7
 Release:        0
 Summary:        Python bindings for SELinux's policy management library
 License:        LGPL-2.1-only

++++++ libsemanage-3.6.tar.gz -> libsemanage-3.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemanage-3.6/VERSION new/libsemanage-3.7/VERSION
--- old/libsemanage-3.6/VERSION 2023-12-13 15:46:22.000000000 +0100
+++ new/libsemanage-3.7/VERSION 2024-06-26 17:30:41.000000000 +0200
@@ -1 +1 @@
-3.6
+3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemanage-3.6/src/genhomedircon.c 
new/libsemanage-3.7/src/genhomedircon.c
--- old/libsemanage-3.6/src/genhomedircon.c     2023-12-13 15:46:22.000000000 
+0100
+++ new/libsemanage-3.7/src/genhomedircon.c     2024-06-26 17:30:41.000000000 
+0200
@@ -985,9 +985,6 @@
                rbuflen = 1024;
        else if (rbuflen <= 0)
                goto cleanup;
-       rbuf = malloc(rbuflen);
-       if (rbuf == NULL)
-               goto cleanup;
 
        if (user) {
                prefix = semanage_user_get_prefix(user);
@@ -1005,7 +1002,17 @@
                homedir_role = prefix;
        }
 
+retry:
+       rbuf = malloc(rbuflen);
+       if (rbuf == NULL)
+               goto cleanup;
+
        retval = getpwnam_r(name, &pwstorage, rbuf, rbuflen, &pwent);
+       if (retval == ERANGE && rbuflen < LONG_MAX / 2) {
+               free(rbuf);
+               rbuflen *= 2;
+               goto retry;
+       }
        if (retval != 0 || pwent == NULL) {
                if (retval != 0 && retval != ENOENT) {
                        goto cleanup;

Reply via email to