Projects
openEuler:22.03:LTS:LoongArch
libnl3
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
_service:tar_scm_kernel_repo:libnl3.spec
Changed
@@ -1,6 +1,6 @@ Name: libnl3 Version: 3.5.0 -Release: 4 +Release: 5 Summary: Providing APIs to netlink protocol based Linux kernel interfaces License: LGPLv2 URL: http://www.infradead.org/~tgr/libnl/ @@ -12,6 +12,9 @@ Patch6003: backport-route-link-Check-for-null-pointer-in-macvlan.patch Patch6004: backport-rtnl-link-fix-leaking-rtnl_link_af_ops-in-link_msg_parser.patch Patch6005: backport-rtnl-route-fix-NLE_NOMEM-handling-in-parse_multipath.patch +Patch6006: backport-prevent-segfault-in-af_request_type.patch +Patch6007: backport-fix-bridge-info-parsing.patch + Patch9000: solve-redefinition-of-struct-ipv6_mreq.patch BuildRequires: flex bison libtool autoconf automake swig @@ -97,6 +100,13 @@ %{python3_sitearch}/netlink-*.egg-info %changelog +* Mon Aug 14 2023 chengyechun <chengyechun1@huawei.com> - 3.5.0-5 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:prevent segfault in af_request_type + fix bridge info parsing + * Wed Mar 10 2021 zengwefeng <zwfeng@huawei.com> - 3.5.0-4 - Type:bugfix - ID:NA
View file
_service:tar_scm_kernel_repo:backport-fix-bridge-info-parsing.patch
Added
@@ -0,0 +1,27 @@ +From 143cee1d381753c3ff01d51b39d77117d5c59bd2 Mon Sep 17 00:00:00 2001 +From: Thomas Haller <thom311@redhat.com> +Date: Tue, 25 Jul 2023 02:09:52 AM GMT+0800 +Subject: [PATCH] fix bridge info parsing + +Conflict:NA +Reference:https://github.com/thom311/libnl/commit/143cee1d381753c3ff01d51b39d77117d5c59bd2 + +--- + lib/route/link/bridge.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/route/link/bridge.c b/lib/route/link/bridge.c +index 2d95faf..65547b9 100644 +--- a/lib/route/link/bridge.c ++++ b/lib/route/link/bridge.c +@@ -195,6 +195,7 @@ static int bridge_parse_af_full(struct rtnl_link *link, struct nlattr *attr_full + if (nla_type(attr) == IFLA_BRIDGE_MODE) { + bd->b_hwmode = nla_get_u16(attr); + bd->ce_mask |= BRIDGE_ATTR_HWMODE; ++ continue; + } else if (nla_type(attr) != IFLA_BRIDGE_VLAN_INFO) + continue; + +-- +2.23.0 +
View file
_service:tar_scm_kernel_repo:backport-prevent-segfault-in-af_request_type.patch
Added
@@ -0,0 +1,28 @@ +From 6519a9173f900b364f014a2321a17aa6bf652e6d Mon Sep 17 00:00:00 2001 +From: Thomas Haller <thom311@redhat.com> +Date: Tue, 25 Jul 2023 01:38:27 AM GMT+0800 +Subject: [PATCH] prevent segfault in af_request_type + +Conflict:NA +Reference:https://github.com/thom311/libnl/commit/6519a9173f900b364f014a2321a17aa6bf652e6d + +--- + lib/route/link.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/route/link.c b/lib/route/link.c +index 50d317e..e6b4b00 100644 +--- a/lib/route/link.c ++++ b/lib/route/link.c +@@ -123,7 +123,7 @@ static int af_request_type(int af_type, struct rtnl_link *changes) + struct rtnl_link_af_ops *ops; + + ops = rtnl_link_af_ops_lookup(af_type); +- if (ops && ops->ao_override_rtm(changes)) ++ if (ops && ops->ao_override_rtm && ops->ao_override_rtm(changes)) + return RTM_SETLINK; + + return RTM_NEWLINK; +-- +2.23.0 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.