]> git.ipfire.org Git - thirdparty/asterisk.git/commit
core_unreal.c: Use ast instead of p->chan to get the DIALSTATUS variable
authorTinet-mucw <mucw@ti-net.com.cn>
Fri, 14 Nov 2025 02:01:28 +0000 (18:01 -0800)
committerTinet-mucw <mucw@ti-net.com.cn>
Mon, 17 Nov 2025 14:09:04 +0000 (14:09 +0000)
commitf79b5a5b59cb5f08205a75d8017660fb0eebfc06
tree62808188ed85972bf6a8c77525250e5e6533fd68
parent6ec5e19d012a5858d5d1adb72f2714191acd883e
core_unreal.c: Use ast instead of p->chan to get the DIALSTATUS variable

After p->chan = NULL, ast still points to the valid channel object,
using ast safely accesses the channel's DIALSTATUS variable before it's fully destroyed

Resolves: #1590
main/core_unreal.c