forked from pool/libnftnl
- Update to new upstream release 1.0.8
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnftnl?expand=0&rev=28
This commit is contained in:
parent
9edb501c46
commit
acf90dc2e9
@ -1,4 +0,0 @@
|
|||||||
libnftnl4
|
|
||||||
libnftnl-devel
|
|
||||||
requires -libnftnl-<targettype>
|
|
||||||
requires "libnftnl4-<targettype> = <version>"
|
|
29
bufferov.diff
Normal file
29
bufferov.diff
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2017-10-13 02:43:06.480980575 +0200
|
||||||
|
X-Upstream: reported
|
||||||
|
|
||||||
|
resolve a potential buffer overflow when i > 9
|
||||||
|
[reg->len > 36].
|
||||||
|
|
||||||
|
|
||||||
|
expr/data_reg.c:69:27: warning: '%d' directive writing between 1 and
|
||||||
|
10 bytes into a region of size 2 [-Wformat-overflow=]
|
||||||
|
sprintf(node_name, "data%d", i);
|
||||||
|
|
||||||
|
---
|
||||||
|
src/expr/data_reg.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: libnftnl-1.0.8/src/expr/data_reg.c
|
||||||
|
===================================================================
|
||||||
|
--- libnftnl-1.0.8/src/expr/data_reg.c
|
||||||
|
+++ libnftnl-1.0.8/src/expr/data_reg.c
|
||||||
|
@@ -60,7 +60,7 @@ static int nftnl_data_reg_value_json_par
|
||||||
|
struct nftnl_parse_err *err)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
- char node_name[6];
|
||||||
|
+ char node_name[16];
|
||||||
|
|
||||||
|
if (nftnl_jansson_parse_val(data, "len", NFTNL_TYPE_U8, ®->len, err) < 0)
|
||||||
|
return DATA_NONE;
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9bb66ecbc64b8508249402f0093829f44177770ad99f6042b86b3a467d963982
|
|
||||||
size 384969
|
|
Binary file not shown.
3
libnftnl-1.0.8.tar.bz2
Normal file
3
libnftnl-1.0.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e6bdd799ef9c59fc247954aba9f2c6469d8e04cfaee73526728011eaa3632038
|
||||||
|
size 400496
|
BIN
libnftnl-1.0.8.tar.bz2.sig
Normal file
BIN
libnftnl-1.0.8.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 13 00:29:52 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 1.0.8
|
||||||
|
* ct: add support for zone, helper and eventmask
|
||||||
|
* exthdr: tcp option set support
|
||||||
|
* rt: tcpmss get support
|
||||||
|
* ct: add average bytes per packet counter support
|
||||||
|
* exthdr: Add support for exthdr flags
|
||||||
|
- Add bufferov.diff
|
||||||
|
- Drop baselibs.conf
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 20 21:59:39 UTC 2016 - jengelh@inai.de
|
Tue Dec 20 21:59:39 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libnftnl
|
# spec file for package libnftnl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libnftnl
|
Name: libnftnl
|
||||||
%define lname libnftnl4
|
%define lname libnftnl7
|
||||||
Version: 1.0.7
|
Version: 1.0.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Userspace library to access the nftables Netlink interface
|
Summary: Userspace library to access the nftables Netlink interface
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
@ -28,7 +28,7 @@ Url: http://netfilter.org/projects/libnftnl/
|
|||||||
#Git-Clone: git://git.netfilter.org/libnftnl
|
#Git-Clone: git://git.netfilter.org/libnftnl
|
||||||
Source: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.bz2
|
Source: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.bz2
|
||||||
Source2: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.bz2.sig
|
Source2: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.bz2.sig
|
||||||
Source3: baselibs.conf
|
Patch1: bufferov.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Normally, this require would not be needed, as upstream ships all headers.
|
# Normally, this require would not be needed, as upstream ships all headers.
|
||||||
# Except when they don't and then don't bother fixing it.
|
# Except when they don't and then don't bother fixing it.
|
||||||
@ -51,9 +51,9 @@ libnftnl is a userspace library providing a low-level netlink
|
|||||||
programming interface (API) to the in-kernel nf_tables subsystem.
|
programming interface (API) to the in-kernel nf_tables subsystem.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %lname = %version
|
Summary: Development files for libnftnl
|
||||||
Summary: Development files to libnftnl
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %lname = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
libnftnl is a userspace library providing a low-level netlink
|
libnftnl is a userspace library providing a low-level netlink
|
||||||
@ -64,6 +64,7 @@ applications that want to make use of libnftnl.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -P 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -73,7 +74,7 @@ applications that want to make use of libnftnl.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot"
|
%make_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
@ -81,7 +82,7 @@ rm -f "%buildroot/%_libdir"/*.la
|
|||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libnftnl.so.4*
|
%_libdir/libnftnl.so.7*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user