[sr-dev] git:master:d13f863e: core: udp server - add sockaddr_storage to ensure enough size for sockaddr_union

Daniel-Constantin Mierla miconda at gmail.com
Mon May 11 20:35:47 CEST 2020


Module: kamailio
Branch: master
Commit: d13f863e74c6c0275264e588f1dca206cf099587
URL: https://github.com/kamailio/kamailio/commit/d13f863e74c6c0275264e588f1dca206cf099587

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-05-11T17:46:29+02:00

core: udp server - add sockaddr_storage to ensure enough size for sockaddr_union

- safety check that from addr len is matching expected size for listen
socket
- rename local variables to suggest better their purpose

---

Modified: src/core/ip_addr.h
Modified: src/core/udp_server.c

---

Diff:  https://github.com/kamailio/kamailio/commit/d13f863e74c6c0275264e588f1dca206cf099587.diff
Patch: https://github.com/kamailio/kamailio/commit/d13f863e74c6c0275264e588f1dca206cf099587.patch




More information about the sr-dev mailing list