You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
6 years ago
..
adb-enablemodem Move enablemodem from ramips to new package adb-enablemodem and make it used also by TL-MR6400 7 years ago
arptables treewide: switch git.netfilter.org to HTTPS 7 years ago
comgt treewide: fix shellscript syntax errors/typos 7 years ago
conntrack-tools add PKG_CPE_ID ids to package and tools 7 years ago
curl curl: Update to 7.59 6 years ago
dante treewide: clean up download hashes 8 years ago
ebtables ebtables: update to latest git 2018-01-17 6 years ago
ethtool ethtool: import from packages, add myself as maintainer 6 years ago
iftop iftop: bump to latest upstream 7 years ago
iperf iperf: bump to 2.0.10 7 years ago
iperf3 iperf3: update to 3.5 6 years ago
iproute2 iproute2: fix hidden uint to uin64_t promotion in json_print 6 years ago
ipset ipset: replace patch that was reverted upstream 7 years ago
iptables iptables: fix compile with kernel 3.18 6 years ago
iputils add PKG_CPE_ID ids to package and tools 7 years ago
iw iw: update to version 4.14 6 years ago
iwcap iwcap: fix handling kill signal during dump 7 years ago
iwinfo iwinfo: update to latest git HEAD 6 years ago
layerscape/restool layerscape: update restool to 2017-12-03 6 years ago
linux-atm linux-atm: add br2684ctl option to specify the netdev name 7 years ago
maccalc network/utils/maccalc: drop Build/Prepare rule in favor of default one 8 years ago
nftables nftables: update to 0.8.2, backport flowtable support 6 years ago
owipcalc network/utils/owipcalc: drop Build/Prepare rule in favor of default one 8 years ago
resolveip network/utils/resolveip: drop Build/Prepare rule in favor of default one 8 years ago
rssileds rssileds: Fix build with external toolchains 7 years ago
tcpdump add PKG_CPE_ID ids to package and tools 7 years ago
umbim treewide: replace LEDE_GIT with PROJECT_GIT 7 years ago
uqmi uqmi: ensure CID is a numeric value before proceeding 6 years ago
wireless-tools wireless-tools: Change download url to github 7 years ago
wpan-tools libs/libnl: Update to 3.3.0 7 years ago
wwan wwan: json format in some modem definitions 7 years ago