Skip to content

Conversation

@mjcross
Copy link
Contributor

@mjcross mjcross commented Nov 13, 2025

Replace two unsafe uses of strncpy() in the MQTT client example, which would return unterminated strings if an over-long topic string was truncated

Replace two unsafe uses of strncpy(): it doesn't terminate a string if it truncates it.
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