Skip to content
New issue

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

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

Already on GitHub? # to your account

sys/suit: return error when URL buffer is too small #20559

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

benpicco
Copy link
Contributor

@benpicco benpicco commented Apr 8, 2024

Contribution description

If we run production firmware and provide a manifest with a too large URL, don't crash with a hard to debug error, but return an error value instead.

Testing procedure

Issues/PRs references

GHSA-c4p4-vv7v-3hx8

@github-actions github-actions bot added Area: OTA Area: Over-the-air updates Area: sys Area: System labels Apr 8, 2024
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Apr 8, 2024
@riot-ci
Copy link

riot-ci commented Apr 8, 2024

Murdock results

✔️ PASSED

68c7bfc sys/suit: return error when URL buffer is too small

Success Failures Total Runtime
10045 0 10045 14m:09s

Artifacts

@benpicco benpicco added this pull request to the merge queue Apr 9, 2024
Merged via the queue into RIOT-OS:master with commit 5a4d55a Apr 9, 2024
25 checks passed
@benpicco benpicco deleted the suit-ENOBUFS branch April 9, 2024 20:56
@maribu
Copy link
Member

maribu commented Apr 10, 2024

Backport provided in #20563

@MrKevinWeiss MrKevinWeiss added this to the Release 2024.04 milestone Apr 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Area: OTA Area: Over-the-air updates Area: sys Area: System CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants