]> git.ipfire.org Git - thirdparty/asterisk.git/commit
channel.c: Address stack overflow in does_id_conflict()
authorGeorge Joseph <gjoseph@digium.com>
Fri, 21 Sep 2018 20:23:34 +0000 (14:23 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 21 Sep 2018 20:32:07 +0000 (15:32 -0500)
commit670fbbd702da58dbfb89708a36e1901172481b9f
tree42f369effd7f0dd2354de3b0e2f266617f1cc004
parent51656adf35dbe09b72a5550b63999803b49f3638
channel.c:  Address stack overflow in does_id_conflict()

does_id_conflict() was passing a pointer to an int to a callback
that expected a pointer to a size_t.

Found by the Address Sanitizer.

Change-Id: I0ff542067eef63a14a60301654d65d34fe2ad503
main/channel.c