openwrt/package/network/utils
Kevin Darbyshire-Bryant 745d0e7f4b iproute2: fix hidden uint to uin64_t promotion in json_print
print_int used 'int' type internally, whereas print_uint used 'uint64_t'

These helper functions eventually call vfprintf(fp, fmt, args) which is
a variable argument list function and is dependent upon 'fmt' containing
correct information about the length of the passed arguments.

Unfortunately print_int v print_uint offered no clue to the programmer
that internally passed ints to print_uint were being promoted to 64bits,
thus the format passed in 'fmt' string vs the actual passed integer
could be different lengths.  This is even more interesting on big endian
architectures where 'vfprintf' would be looking in the middle of an
int64 type.  Symptoms of this included tc qdisc showing bizarre values
for a variety of fields across a variety of qdiscs (e.g. refcnt, flows,
quantum)

print_u/int now stick with native int size.

A similar patch has been sent upstream.

Fixes FS#1425

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-03-19 11:40:01 +01:00
..
adb-enablemodem Move enablemodem from ramips to new package adb-enablemodem and make it used also by TL-MR6400 2017-05-27 07:54:40 +02:00
arptables treewide: switch git.netfilter.org to HTTPS 2017-10-08 21:10:36 +03:00
comgt treewide: fix shellscript syntax errors/typos 2017-09-13 08:07:54 +02:00
conntrack-tools add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
curl curl: Update to 7.59 2018-03-19 11:39:13 +01:00
dante treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
ebtables ebtables: update to latest git 2018-01-17 2018-03-08 21:16:24 +01:00
ethtool ethtool: import from packages, add myself as maintainer 2018-02-24 16:12:57 +01:00
iftop iftop: bump to latest upstream 2017-02-26 08:41:08 +01:00
iperf iperf: bump to 2.0.10 2017-09-25 07:42:34 +03:00
iperf3 iperf3: update to 3.5 2018-03-09 22:13:22 +01:00
iproute2 iproute2: fix hidden uint to uin64_t promotion in json_print 2018-03-19 11:40:01 +01:00
ipset ipset: replace patch that was reverted upstream 2017-09-26 18:18:44 +03:00
iptables iptables: fix compile with kernel 3.18 2018-02-26 17:52:15 +01:00
iputils add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
iw iw: update to version 4.14 2018-02-28 12:46:02 +01:00
iwcap iwcap: fix handling kill signal during dump 2017-03-14 13:29:03 +01:00
iwinfo iwinfo: update to latest git HEAD 2018-02-15 04:57:38 +01:00
layerscape/restool layerscape: update restool to 2017-12-03 2018-02-13 10:01:49 +01:00
linux-atm linux-atm: add br2684ctl option to specify the netdev name 2018-01-10 08:08:53 +01:00
maccalc network/utils/maccalc: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
nftables nftables: update to 0.8.2, backport flowtable support 2018-02-21 20:12:41 +01:00
owipcalc network/utils/owipcalc: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
resolveip network/utils/resolveip: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
rssileds rssileds: Fix build with external toolchains 2017-03-01 17:19:52 -08:00
tcpdump add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
umbim treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
uqmi uqmi: ensure CID is a numeric value before proceeding 2018-02-20 08:33:07 +01:00
wireless-tools wireless-tools: Change download url to github 2017-02-28 20:22:10 +01:00
wpan-tools libs/libnl: Update to 3.3.0 2017-10-15 00:24:22 +02:00
wwan wwan: json format in some modem definitions 2017-09-16 23:04:46 +02:00