Bugzilla – Bug 129415
iproute2 buffer overflows
Last modified: 2005-11-03 09:50:05 UTC
$ ip route show src 10.10.2.227 *** buffer overflow detected ***: ip terminated Aborted where 10.10.2.227 is your own ip
Fixed in STABLE
Anja, I need a SWAMP id for making a bugfix update for 10.0. It's obviously correct. The patch is this: - memcpy(&via.data, RTA_DATA(tb[RTA_GATEWAY]), host_len); + memcpy(&via.data, RTA_DATA(tb[RTA_GATEWAY]), host_len/8); and - memcpy(&prefsrc.data, RTA_DATA(tb[RTA_PREFSRC]), host_len); + memcpy(&prefsrc.data, RTA_DATA(tb[RTA_PREFSRC]), host_len/8); They're overflowing the struct, because memcpy takes bytes and host_len is bits.
do you already have a fixed package? I'd like to test it on the live system
/work/built/mbuild/pothole-mmj-1/10.0-i386/iproute2-2.6.13-2.1.i586.rpm
Dirk, did you verify it works?
works fine, can't find any further problems
Andreas I need a SWAMP id for a bugfix update for 10.0.
Approved, Maintenance-Tracker-2678
Fixed and submitted for 10.0
released