]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ila: fix potential snprintf buffer overflow
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 18 Sep 2023 18:36:32 +0000 (11:36 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 18 Sep 2023 18:45:24 +0000 (11:45 -0700)
commite8a3fca81cd4b8fee14cfb14a5ce9c1b3b63e797
tree917a2402c09d2f197d109fac9740f7a74b4ccb85
parent4d80122ae82aea86cb740b5202f6c3fde6183538
ila: fix potential snprintf buffer overflow

The code to print 64 bit address has a theoretical overflow
of snprintf buffer found by CodeQL scan.
Address by checking result.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipila.c