Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2016 03:38:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195445] bsnmpd returns wrong data in ipAddrTable
Message-ID:  <bug-195445-8-3bLhZclTfn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195445-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195445-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195445

cb@severious.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cb@severious.net

--- Comment #2 from cb@severious.net ---
The regression was introduced in r228571, which was copied to the 10-STABLE
branch when it was created, but not merged to 9.

http://svnweb.freebsd.org/base/head/contrib/bsnmp/snmp_mibII/mibII.c?r1=3D2=
28623&r2=3D228622&pathrev=3D228623

That change can't possibly work, because struct ifa_msghdr is just the head=
er,
and does not include the payload of the message, which the IP addresses are
extracted from.

Reverting it fixes the problem for me on amd64 and i386. Presumably it may =
also
cause bsnmpd to fault on architectures with strict alignment requirements.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195445-8-3bLhZclTfn>