ChuckBell / MySQL_Connector_Arduino

Database connector library for using MySQL with your Arduino projects.
333 stars 133 forks source link

Crash with new Board Version ESP8266 3.0.2 #176

Open Falkenstone opened 2 years ago

Falkenstone commented 2 years ago

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

ChuckBell commented 2 years ago

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.

Pablo2048 commented 2 years ago

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?