obgm / libcoap

A CoAP (RFC 7252) implementation in C
Other
790 stars 422 forks source link

Memory leak in LwIP function `coap_udp_recvs` #1410

Closed g0ng0 closed 4 months ago

g0ng0 commented 4 months ago

Problem Description

Function coap_udp_recvs does not free buffer p, when creating session fails.

Expected Behavior

Function coap_udp_recvs free buffer p, when creating session fails.

Actual Behavior

Function coap_udp_recvs does not free buffer p, when creating session fails.

mrdeep1 commented 4 months ago

There is no need to raise an Issue when you have raised a PR to fix the issue.