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

applications: serial_lte_modem: check for uninitialized send callback #15546

Conversation

kacperradoszewski
Copy link
Contributor

Calling slm_at_send_indicate() before the AT backend is initialized will dereference a NULL pointer, which may happen as several modules can dispatch custom notifications at any point.

@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label May 28, 2024
@NordicBuilder
Copy link
Contributor

NordicBuilder commented May 28, 2024

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
test-fw-nrfconnect-nrf-iot_serial_lte_modem X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

Copy link
Contributor

@MarkusLassila MarkusLassila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kacperradoszewski: This will fail until this PR goes in: #15467

@kacperradoszewski kacperradoszewski removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label May 28, 2024
@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

Calling slm_at_send_indicate() before the AT backend is initialized
will dereference a NULL pointer, which may happen as several modules
can dispatch custom notifications at any point.

Signed-off-by: Kacper Radoszewski <[email protected]>
@kacperradoszewski kacperradoszewski force-pushed the bugfix/NCSDK-NONE/slm-check-backend-send branch from 1501280 to 2233244 Compare May 30, 2024 07:36
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label May 30, 2024
@kacperradoszewski kacperradoszewski removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label May 30, 2024
@rlubos rlubos merged commit cb7feec into nrfconnect:main May 31, 2024
15 checks passed
@kacperradoszewski kacperradoszewski deleted the bugfix/NCSDK-NONE/slm-check-backend-send branch May 31, 2024 07:23
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.

7 participants