You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix segfault-prone code paths across core and apps
- AmArg::pop_back: replace undefined erase(end()) with pop_back()
- trans_table: replace assert-only dynamic_cast guards with runtime
NULL checks and error returns (asserts compiled out in release)
- SBC: add args.size() bounds checks before accessing AmArg elements
in postControlCmd, reloadProfile, loadProfile, setActiveProfile,
setRegexMap, loadCallcontrolModules
- sems.cpp: rewrite signal handler to only set sig_atomic_t flags;
move unsafe work (mutex, event broadcast) to process_pending_signals()
called from the SIP event loop
- AmConferenceChannel: remove dangerous delete-this in on_flushed()
callback; object lifetime is managed by owning AmConferenceChannel
- ip_util: fix uninitialized str[0] read in am_inet_ntop_sip IPv6 path;
set '[' before inet_ntop and add buffer overflow guards
- AmSmtpClient: check socket() return before connect()
- AmEventDispatcher::broadcast: collect queue pointers under lock then
post events outside lock to prevent iterator invalidation
- DSMChartReader::importModule: add missing dlclose() on error paths
- AmUtils/arg_conversion: sprintf -> snprintf to prevent buffer overflows
- log.cpp: check malloc return in __lds before using funcname pointer
- tcp_trsp: guard memmove against integer underflow when addr_shift
exceeds input_len
- RpcPeer: check socket() return before fcntl/connect
0 commit comments