From 0c23a1e8cb1d83b25c3e65d6234c979cdadec9614900a6c3fb2af6b0212ff43e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 2 Jan 2018 21:10:35 +0000 Subject: [PATCH] libnftnl-1.0.9 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnftnl?expand=0&rev=30 --- bufferov.diff | 16 ++++++++-------- libnftnl-1.0.8.tar.bz2 | 3 --- libnftnl-1.0.8.tar.bz2.sig | Bin 543 -> 0 bytes libnftnl-1.0.9.tar.bz2 | 3 +++ libnftnl-1.0.9.tar.bz2.sig | Bin 0 -> 543 bytes libnftnl.changes | 6 ++++++ libnftnl.spec | 11 +++-------- 7 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 libnftnl-1.0.8.tar.bz2 delete mode 100644 libnftnl-1.0.8.tar.bz2.sig create mode 100644 libnftnl-1.0.9.tar.bz2 create mode 100644 libnftnl-1.0.9.tar.bz2.sig diff --git a/bufferov.diff b/bufferov.diff index 4567e6d..f246e71 100644 --- a/bufferov.diff +++ b/bufferov.diff @@ -14,16 +14,16 @@ expr/data_reg.c:69:27: warning: '%d' directive writing between 1 and src/expr/data_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: libnftnl-1.0.8/src/expr/data_reg.c +Index: libnftnl-1.0.9/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 +--- libnftnl-1.0.9.orig/src/expr/data_reg.c ++++ libnftnl-1.0.9/src/expr/data_reg.c +@@ -59,7 +59,7 @@ static int nftnl_data_reg_verdict_json_p + static int nftnl_data_reg_value_json_parse(union nftnl_data_reg *reg, json_t *data, struct nftnl_parse_err *err) { - int i; -- char node_name[6]; -+ char node_name[16]; +- char node_name[8] = {}; /* strlen("data256") + 1 == 8 */ ++ char node_name[16] = {}; /* strlen("data256") + 1 == 8 */ + int ret, remain = sizeof(node_name), offset = 0, i; if (nftnl_jansson_parse_val(data, "len", NFTNL_TYPE_U8, ®->len, err) < 0) - return DATA_NONE; diff --git a/libnftnl-1.0.8.tar.bz2 b/libnftnl-1.0.8.tar.bz2 deleted file mode 100644 index 5ac1228..0000000 --- a/libnftnl-1.0.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e6bdd799ef9c59fc247954aba9f2c6469d8e04cfaee73526728011eaa3632038 -size 400496 diff --git a/libnftnl-1.0.8.tar.bz2.sig b/libnftnl-1.0.8.tar.bz2.sig deleted file mode 100644 index e3db27f1229290e54fa4c1e3cd482616d75a406ec4dc5ce7837024f495edd5cf..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p-;${Nn%$2@tDBRiP%*lH~ZC5Bv$39P26I<7cadh@;)w z<`K3}!@t%59XGX#hlF{kJ3tu5vq!B%{p`3t4yI}uI2pWi z0@1%!iBQ%AtfM`Tw}!5S5RsXd&vOCzn2Uyi>nS9)%>AmwzJ=BvN}Mr;z4hfd>9=QX ze#U-iGwPHFlofu3xhloe3h9#Ii6loW(x@+EYOBK5L8OlfrH>|ZocfFl&F%(|&Lk>s zSQXcs+XoDAG~AskLn$=+v#5zNx#)Yc#jj^B#E_4grhOFEhqE9!(Sihr(HTH+pBIca zH!bi_#4YcTmS2YJpVf6K8@lNKVrn(AjQQC!Bg^mN890ewKfNd!26Ykmk%6k(%m+ts z3etDQaKowbknkD+`LKcDyCQfOsHtAt7v5QOXc2+rF=t%c$9XM*IoZ)T=V%RXQ!)wB zti-jZP{Gaa=}m!g-C)G`*_{0`R52+QLjFNe*|sgu7#k3Ac;VFZCSuOjOc5!r+zn_e zfVJ~az)rUVS7$+se{yaI4d^qOF{sSNL~F<_X+;#_-k-|9Xhg_`acj1219(;KQM#w* z5i249u}&Lec5rMcr-r)`G@;2nE=3NuBG}a}7LsJX>nAg430UN(sw}``M1WE|U}5p0 h&;9PD`s5>{)pRVA-XQb>+n!a6{{W1ROB0R^anZf|E{5ljNa+(qmVBn<*64_DaopOy zKz&Yk8>>n&T=(*+qOjV(P9@4F$Ph?XZN*vSFU4NlZlQ@|(fz0$tt2zd8vA{BKuu7d zdT9N|Wv#JT?4uD>g9_4&J&~n&LS;CDN|peUB&#i7Z1TNh%kQBUC%%+_XAGH zRUN9O8+dEX>uXedtI2jGRlu=7_{ix-^+tjDF|{AW6jCNnd--8e0JyOd_Y1qbI_WR* z5WxP8x&MMup2lA=ISi~BjV=(rFC54>ElJ8p`$)F)$5;(}i@eBuZxzctOZ1}_B;3}wv zq#Oi8w+eJz+IMF)XldW79eHAR8C_`h7jGAC0thkZZJAU~fs@!$S= 2.6.35 BuildRequires: pkgconfig >= 0.21 BuildRequires: xz BuildRequires: pkgconfig(jansson) >= 2.3 @@ -67,9 +64,7 @@ applications that want to make use of libnftnl. %patch -P 1 -p1 %build -%configure \ - --with-xml-parsing \ - --with-json-parsing \ +%configure --with-xml-parsing --with-json-parsing \ --includedir="%_includedir/%name" make %{?_smp_mflags}