MySQL_Connector_Arduino icon indicating copy to clipboard operation
MySQL_Connector_Arduino copied to clipboard

Crash with new Board Version ESP8266 3.0.2

Open Falkenstone opened this issue 3 years ago • 2 comments

Hi Charles, i know its not your mistake. Since the new Board Version ESP8266 3.0.0 the connect to MySQL crashes every time. I am not the professional to find out what is different to version 2.7.3. That was my last attempt with which version the "connect" function worked. Could you inspect this issue and modify the library? You could use one of your example and you see what happened.

thx Falke

Falkenstone avatar Oct 10 '21 11:10 Falkenstone

I have looked into this and it appears, to me, to be a bug in the ESP8266 library, not this one. I expect the authors of the hardware library to fix the issue rather than code a workaround for a specific release.

On Oct 10, 2021, at 7:41 AM, Falkenstone @.***> wrote:

Hi Charles, i know its not your mistake. Since the new Board Version ESP8266 3.0.0 the connect to MySQL crashes every time. I am not the professional to find out what is different to version 2.7.3. That was my last attempt with which version the "connect" function worked. Could you inspect this issue and modify the library? You could use one of your example and you see what happened.

thx Falke

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChuckBell/MySQL_Connector_Arduino/issues/176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6SHYAZ6XQNDFDQMGD2DIDUGF3XLANCNFSM5FWMHEBQ.

ChuckBell avatar Oct 10 '21 17:10 ChuckBell

This method https://github.com/ChuckBell/MySQL_Connector_Arduino/blob/d007607b306dde37b591093f9562ed1370cf99d4/src/MySQL_Encrypt_Sha1.cpp#L91 and this one https://github.com/ChuckBell/MySQL_Connector_Arduino/blob/d007607b306dde37b591093f9562ed1370cf99d4/src/MySQL_Encrypt_Sha1.cpp#L86 have missing return statement. Maybe this is the source of crash?

Pablo2048 avatar Oct 13 '21 06:10 Pablo2048