FreeRTOS / FreeRTOS-Plus-TCP

FreeRTOS-Plus-TCP library repository. +TCP files only. Submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
MIT License
125 stars 149 forks source link

Handle malloc failure in dns setcallback #1155

Closed tony-josi-aws closed 2 weeks ago

tony-josi-aws commented 3 weeks ago

Description

This PR handles malloc failure while allocating memory for DNS callback in vDNSSetCallBack API.

Test Steps

Checklist:

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.