Skip to content

Conversation

@tony-josi-aws
Copy link
Member

Description

The zero copy UDP buffers were not freed in the DHCPv6 state machine and in a corner case for DHCPv4; those are also corrected in this PR.

Test Steps

STM32F4 - DHCP v4 tests

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

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

@tony-josi-aws tony-josi-aws requested a review from a team as a code owner March 3, 2025 07:04
amazonKamath
amazonKamath previously approved these changes Mar 3, 2025
ActoryOu
ActoryOu previously approved these changes Mar 4, 2025
aggarg
aggarg previously approved these changes Mar 4, 2025
@tony-josi-aws tony-josi-aws dismissed stale reviews from amazonKamath, ActoryOu, and aggarg via 98ce576 March 5, 2025 09:32
@tony-josi-aws tony-josi-aws merged commit b3f586f into FreeRTOS:main Mar 5, 2025
10 checks passed
lightbulbkhuang pushed a commit to iotlabtpe/FreeRTOS-Plus-TCP-MDNS that referenced this pull request Jul 9, 2025
…TOS#1231)

* Fix possible network buffer leak in DHCP v4 and v6

* DHCP v4 UT full code cov

* Full code coverage DHCP v6

* Fix naming

* Add UT coverage for vReleaseSinglePacketFromUDPSocket

* Add UT coverage for vReleaseSinglePacketFromUDPSocket

* Fix formatting

* Fix compiler warning

* Fix compiler warning

* Fix DHCP v6 CBMC

* Fix unit tests
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.

4 participants