OpenSprinkler Forums Hardware Questions OpenSprinkler Controller lockups / crashes with wired Ethernet module Reply To: Controller lockups / crashes with wired Ethernet module

#72466

Water_my_lawn
Participant

I have been running my firmware for over 3 months on the wired Ethernet connection without a crash.
The only change made was a fix by Juraj Andrássy to the UIPClient.cpp which is part of the UIPEthernet
Ethernet driver. The only change made is to replace (*this) with (data) 4 places in the source file.
This is one of those bugs that is obvious in hindsight.

This bug would result in dereferencing a bad pointer when there was a zero length packet. Such
a thing produces unpredictable behavior or a crash.

However this is all moot since Ray moved to EthernetENC from the previous UIPEthernet Ethernet drive.