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
In fauxmoESP.cpp on line 326 is a hidden bug that in certain constellations will crash the ESP. You are writing a zero byte behind the buffer allocated by AsyncTCP. This goes unnoticed most of the time, but if you happen to have some address data immediately following in memory unexpected things will happen.
The text was updated successfully, but these errors were encountered:
@Miq1 Thank you very much for reporting that, I was wondering why my devices keep crashing from time to time. Especially when Alexa is searching for new smart home devices. I was able to find a workaround and so far, my devices no longer crash.
If anyone is interested: https://github.com/ranger81/fauxmoESP/blob/3.3memorybugfix/src/fauxmoESP.cpp#L316
fauxmoESP/src/fauxmoESP.cpp
Line 326 in 0b3aee1
In
fauxmoESP.cpp
on line 326 is a hidden bug that in certain constellations will crash the ESP. You are writing a zero byte behind the buffer allocated byAsyncTCP
. This goes unnoticed most of the time, but if you happen to have some address data immediately following in memory unexpected things will happen.The text was updated successfully, but these errors were encountered: