Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(modem): Fixed AT commands to copy strings to prevent overrides #472

Merged

Conversation

david-cermak
Copy link
Collaborator

Previously we used std::string_view, which pointed to the lower-layers buffer which might have been reused for other asynchronous operations before processing it, thus causing corruption of replies.

Closes #463

@david-cermak david-cermak force-pushed the fix/modem_at_corrupt_response branch 3 times, most recently from e57691b to 1db6f32 Compare January 16, 2024 08:17
Previously we used std::string_view, which pointed to the lower-layers
buffer which might have been reused for other asynchronous operations
before processing it, thus causing corruption of replies.

Closes espressif#463
@david-cermak david-cermak force-pushed the fix/modem_at_corrupt_response branch from 1db6f32 to 741d166 Compare January 16, 2024 08:52
@david-cermak david-cermak merged commit 1c29af9 into espressif:master Jan 17, 2024
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants