]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi.c: crash in chan_dahdi
authorChris-Savinovich <csavinovich@digium.com>
Mon, 1 Jul 2019 21:57:25 +0000 (16:57 -0500)
committerChris-Savinovich <csavinovich@digium.com>
Mon, 1 Jul 2019 22:04:47 +0000 (17:04 -0500)
commite206a54d5910722b2802ced9d0b130fabed84ef2
tree60833f6f5fbb1c514b0fc24e2c2bd4283fdcadfa
parent72f001d5582aa49e5c56aaaebc2373dba484f6d3
chan_dahdi.c: crash in chan_dahdi

Fixes a crash in chan_dahdi occurring on 32-bit systems. A previous
patch introduced a variable of type unassigned long long which is 64-bits.
Casting it as 'ast_json_int_t' along with JSON type 'I' makes it work
with 32-bit systems.

ASTERISK-28457

Change-Id: I9cef6b5f2d826fc5c93f2f6a1c997c4e3e6c93fe
channels/chan_dahdi.c