packages icon indicating copy to clipboard operation
packages copied to clipboard

iputils-ping: invalid fwmark range checking

Open asbai opened this issue 2 years ago • 1 comments

Issue template (remove lines from top till here)

Maintainer: @neheb (find it by checking history of the package Makefile)

Environment:

NAME="OpenWrt"
VERSION="22.03.0-rc4"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 22.03.0-rc4"
VERSION_ID="22.03.0-rc4"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r19426-2b1941e47d"
OPENWRT_BOARD="ipq40xx/generic"
OPENWRT_ARCH="arm_cortex-a7_neon-vfpv4"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 22.03.0-rc4 r19426-2b1941e47d"

Description: The -m (fwmark) switch of ping command not working correctly:

# opkg install iputils-ping
Package iputils-ping (20211215-1) installed in root is up to date.

# ping -m 1 1.1.1.1
ping: invalid argument: '1': out of range: 0 <= value <= 4294967295

asbai avatar Jul 25 '22 19:07 asbai

@luizluca fixed and did not backport this :) https://github.com/iputils/iputils/commit/fecf3359f8e4c6cafed442ce7a855e96cac658d0

neheb avatar Jul 27 '22 06:07 neheb