]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[mod_event_multicast] Few fixes
authorTomasz Ostrowski <43222462+tomek-o@users.noreply.github.com>
Mon, 27 Mar 2023 17:23:07 +0000 (19:23 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Mar 2023 17:23:07 +0000 (20:23 +0300)
commit8e604e8a945eb402f5cf318676aa72df76748057
tree80d0bcdea26ee18a10bb91c9246c2e4e3c37a57b
parent2c36dcdd5018c2ccf16dd95e65be2fd798bb9ccb
[mod_event_multicast] Few fixes

* [mod_event_multicast] Fix crash / invalid pointer dereference

* [mod_event_multicast] Check current number of addresses before zeroing memory on init

* [mod_event_multicast] Fix condition checking number of addresses on init

* [mod_event_multicast] Fix addresses zeroing on init

* [mod_event_multicast] Reorder memset and assert after malloc
src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c