[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #36840] snmp_send_trap() NULL de-reference if traps co
From: |
James Smith |
Subject: |
[lwip-devel] [bug #36840] snmp_send_trap() NULL de-reference if traps configured but no interfaces available |
Date: |
Fri, 13 Jul 2012 13:12:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.6.24-1.fc14 Firefox/3.6.24 |
URL:
<http://savannah.nongnu.org/bugs/?36840>
Summary: snmp_send_trap() NULL de-reference if traps
configured but no interfaces available
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: rallysmith
Submitted on: Fri 13 Jul 2012 01:12:18 PM GMT
Category: None
Severity: 3 - Normal
Item Group: Crash Error
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: CVS Head
_______________________________________________________
Details:
The snmp_send_trap() does a ip_route() call, but does not check the resulting
interface pointer.
I have attached a simple patch to fix the NULL de-reference when snmp_init()
is called (with traps already configured as described in "doc/snmp_agent.txt")
but where no network interfaces are available.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 13 Jul 2012 01:12:18 PM GMT Name: snmp_send_trap.patch Size: 788B
By: rallysmith
<http://savannah.nongnu.org/bugs/download.php?file_id=26196>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?36840>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #36840] snmp_send_trap() NULL de-reference if traps configured but no interfaces available,
James Smith <=