]> git.proxmox.com Git - mirror_iproute2.git/commit
ss: fix crash with invalid command input file
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 18 Dec 2017 17:51:02 +0000 (09:51 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 18 Dec 2017 19:18:55 +0000 (11:18 -0800)
commit507358183576b44a2f6c825b35441a9549d385c7
tree80089b362d182497597266f48c07339d4b13179c
parentae8e1cb83bf86f7474350f73f2ef323273969f71
ss: fix crash with invalid command input file

If given an invalid input file with -F flag, ss would crash.
Examples of invalid input are line to long, or null file.

Found by fuzzing with ASAN.

Reported-by:Bug Basher <iamliketohack@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
misc/ssfilter.y