Skip to content

Conversation

@GitBruno
Copy link

Wire.begin() assumes pins 2 SDA, pin 14 SCL so we have set the same defaults for backwards compatibility.

Wire.begin() assumes pins 2 SDA, pin 14 SCL so we have set the same defaults.
…ed radar data.

The code now checks that each parts[x] pointer is not NULL and that enough fields were parsed before calling atoi/atof. This prevents buffer overreads and stack corruption.
@GitBruno GitBruno changed the title Ability to set custom SDA and SCL pin. (Library can now be used on ESP32 series) This patch should resolve the stack smashing errors caused by malformed radar data Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant