This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001789] Null pointer in snmp_send_trap and byte orderinconsistency
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Sun, 03 Mar 2013 17:30:10 +0000
- Subject: [Bug 1001789] Null pointer in snmp_send_trap and byte orderinconsistency
- Auto-submitted: auto-generated
- References: <bug-1001789-13@http.bugs.ecos.sourceware.org/>
Please do not reply to this email, use the link below.
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001789
John Dallaway <john@dallaway.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEEDINFO
CC| |john@dallaway.org.uk
Ever confirmed|0 |1
--- Comment #1 from John Dallaway <john@dallaway.org.uk> ---
(In reply to comment #0)
> The next problem is an inconsistency in IP representation handling. This
> code below works because it calls htonl(...) before
> snap_trap_dst_ip_set(...), which has another htonl(...) call. Most of the
> lwip takes an address in the form returned by IP4_ADDR(...). This
> inconsistency lead to some debug time trying to figure out why it did not
> work.
Ref: http://savannah.nongnu.org/bugs/?29256
It looks like this issue was fixed upstream as part of the following commit:
http://git.savannah.gnu.org/cgit/lwip.git/commit/?id=d0f1c552e2146825d011f106672698244eea01dc
Mike, can you prepare an equivalent fix for the eCos lwIP sources?
--
You are receiving this mail because:
You are on the CC list for the bug.