[openwrt/openwrt] libsepol: update to version 3.2

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 15 21:54:27 GMT 2021


dangole pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/51159bcfd138e419b2503852de8564d3f8b9600b

commit 51159bcfd138e419b2503852de8564d3f8b9600b
Author: Dominick Grift <dominick.grift at defensec.nl>
AuthorDate: Sat Mar 6 21:02:36 2021 +0100

    libsepol: update to version 3.2
    
    a9e0004f libsepol: invalidate the pointer to the policydb if policydb_init fails
    6238e025 libsepol/cil: fix NULL pointer dereference in cil_fill_ipaddr
    b69d77bc libsepol/cil: handle SID without assigned context when writing policy.conf
    0861c659 libsepol: Validate policydb values when reading binary policy
    8f5409cf libsepol: Create function ebitmap_highest_set_bit()
    0451adeb libsepol/cil: Destroy disabled optional blocks after pass is complete
    32f8ed3d libsepol/cil: introduce intermediate cast to silence -Wvoid-pointer-to-enum-cast
    4662bdc1 libsepol/cil: be more robust when encountering <src_info>
    6b561058 libsepol/cil: fix NULL pointer dereference with empty macro argument
    0d0e47c7 libsepol/cil: Fix integer overflow in the handling of hll line marks
    1b36ace2 libsepol: include header files in source files when matching declarations
    1f1fa9d4 libsepol: uniformize prototypes of sepol_mls_contains and sepol_mls_check
    72a88d75 libsepol: remove unused files
    eba0ffee libsepol/cil: Fix heap-use-after-free when using optional blockinherit
    1048f8d3 libsepol/cil: unlink blockinherit->block link when destroying a block
    b3202918 libsepol/cil: fix memory leak when a constraint expression is too deep
    f0d98f83 libsepol/cil: Fix heap-use-after-free in __class_reset_perm_values()
    5d021d66 libsepol/cil: Update symtab nprim field when adding or removing datums
    34bd9a9d libsepol: destroy filename_trans list properly
    bdf4e332 libsepol/cil: fix NULL pointer dereference when parsing an improper integer
    b7ea65f5 libsepol/cil: destroy perm_datums when __cil_resolve_perms fails
    228c06d9 libsepol/cil: fix out-of-bound read in cil_print_recursive_blockinherit
    a25d9104 libsepol/cil: constify some strings
    e2d01842 libsepol/cil: propagate failure of cil_fill_list()
    6c8fca10 libsepol/cil: do not add a stack variable to a list
    38a09b74 libsepol/cil: fix NULL pointer dereference when using an unused alias
    3c357285 libsepol/cil: remove useless print statement
    90809674 libsepol/cil: always destroy the lexer state
    d16a1e46 libsepol/cil: Use the macro FLAVOR() whenever possible
    2aac859a libsepol/cil: Use the macro NODE() whenever possible
    d317b470 libsepol/cil: Remove unnecessary assignment in cil_resolve_name_keep_aliases()
    9b9761cf libsepol/cil: Remove unused field from struct cil_args_resolve
    e257d4c7 libsepol/cil: Get rid of unnecessary check in cil_gen_node()
    ebba2b00 libsepol/cil: cil_tree_walk() helpers should use CIL_TREE_SKIP_*
    89dab467 libsepol: free memory when realloc() fails
    2d353bd5 libsepol/cil: Give error for more than one true or false block
    4a142ac4 libsepol: Bump libsepol.so version
    506c7b95 libsepol: Drop deprecated functions
    ae58e84b libsepol: Get rid of the old and duplicated symbols
    c97d63c6 libsepol: silence potential NULL pointer dereference warning
    64387cb3 libsepol: drop confusing BUG_ON macro
    521e6a2f libsepol/cil: fix signed overflow caused by using (1 << 31) - 1
    a152653b libsepol/cil: Fix neverallow checking involving classmaps
    734e4beb libsepol/cil: Validate conditional expressions before adding to binary policy
    685f577a libsepol/cil: Validate constraint expressions before adding to binary policy
    8206b8cb libsepol: implement POLICYDB_VERSION_COMP_FTRANS
    42ae834a libsepol,checkpolicy: optimize storage of filename transitions
    
    Signed-off-by: Dominick Grift <dominick.grift at defensec.nl>
    (cherry picked from commit 2a1bdde0d05dd97aa58da546d15197409d481bb3)
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/libs/libsepol/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/libs/libsepol/Makefile b/package/libs/libsepol/Makefile
index 8ceb7164a7..c7950a9ba0 100644
--- a/package/libs/libsepol/Makefile
+++ b/package/libs/libsepol/Makefile
@@ -6,12 +6,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libsepol
-PKG_VERSION:=3.1
+PKG_VERSION:=3.2
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/SELinuxProject/selinux/releases/download/20200710
-PKG_HASH:=ae6778d01443fdd38cd30eeee846494e19f4d407b09872580372f4aa4bf8a3cc
+PKG_SOURCE_URL:=https://github.com/SELinuxProject/selinux/releases/download/3.2
+PKG_HASH:=dfc7f662af8000116e56a01de6a0394ed79be1b34b999e551346233c5dd19508
 
 PKG_MAINTAINER:=Thomas Petazzoni <thomas.petazzoni at bootlin.com>
 



More information about the lede-commits mailing list