Skip to content

Fix subscribe wildcard check bounds - #383

Merged
allanli4 merged 1 commit into
FreeRTOS:mainfrom
allanli4:fix/bounded-topic-filter-wildcard-scan
Aug 6, 2026
Merged

Fix subscribe wildcard check bounds#383
allanli4 merged 1 commit into
FreeRTOS:mainfrom
allanli4:fix/bounded-topic-filter-wildcard-scan

Conversation

@allanli4

@allanli4 allanli4 commented Aug 5, 2026

Copy link
Copy Markdown
Member

Description

Fix subscribe wildcard check bounds

Thank you XueDugu for reporting the issue.

Test Steps

  • Added test_MQTTV5_Subscribe_WildcardCheck_HonorsTopicFilterLength to core_mqtt_utest.c.
  • Added a CBMC proof test/cbmc/proofs/MQTT_Subscribe_BoundedTopicFilter/.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

N/A

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@allanli4
allanli4 force-pushed the fix/bounded-topic-filter-wildcard-scan branch from d1e47b2 to 0a78302 Compare August 5, 2026 22:27
@allanli4
allanli4 force-pushed the fix/bounded-topic-filter-wildcard-scan branch from 0a78302 to 4ae7977 Compare August 5, 2026 23:47
@allanli4 allanli4 changed the title Bound SUBSCRIBE topic filter wildcard scan by topicFilterLength Fix subscribe wildcard check bounds Aug 5, 2026
@allanli4
allanli4 merged commit a664bbb into FreeRTOS:main Aug 6, 2026
21 of 22 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

Development

Successfully merging this pull request may close these issues.

3 participants