1e9b5f1016d8e690d5dd47b3187c2f50402cb96d
subscriptions[id] via operator[] default-constructed (NULL) and inserted an entry for any unregistered id, and the very next line dereferenced it unconditionally - any client referencing a subscription id that was never created (e.g. Zephora client sending subscribe:invite for a channel nobody ever Publish()d) segfaulted the entire process, not just that connection. Use find() and return gracefully instead.
Description
This repository provides core functionality for TCP and UDP servers using the epoll linux function.
184 MiB
0 Stars
1 Watchers
0 Forks
Languages
C++
99.6%
Shell
0.4%