You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per default an object is created via arduino::EthernetClass Ethernet;. In this case the eth_if member got initialized (which is a pointer).
But when user creates his own object and passes a null pointer for EthernetInterface() arduino::EthernetClass Ethernet(nullptr);
Several calls to other public functions, will directly call/access the null pointer.
ArduinoCore-mbed/libraries/Ethernet/src/Ethernet.cpp
Line 6 in dd5abb6
Per default an object is created via
arduino::EthernetClass Ethernet;
. In this case theeth_if
member got initialized (which is a pointer).But when user creates his own object and passes a null pointer for EthernetInterface()
arduino::EthernetClass Ethernet(nullptr);
Several calls to other public functions, will directly call/access the null pointer.
ArduinoCore-mbed/libraries/Ethernet/src/Ethernet.cpp
Line 17 in dd5abb6
ArduinoCore-mbed/libraries/Ethernet/src/Ethernet.cpp
Line 56 in dd5abb6
ArduinoCore-mbed/libraries/Ethernet/src/Ethernet.cpp
Line 71 in dd5abb6
ArduinoCore-mbed/libraries/Ethernet/src/Ethernet.cpp
Line 80 in dd5abb6
The text was updated successfully, but these errors were encountered: