Merge "channel.c: Address stack overflow in does_id_conflict()" into 16

This commit is contained in:
George Joseph 2018-09-24 09:24:31 -05:00 committed by Gerrit Code Review
commit 361295f192
1 changed files with 1 additions and 1 deletions

View File

@ -751,7 +751,7 @@ static int ast_channel_by_uniqueid_cb(void *obj, void *arg, void *data, int flag
static int does_id_conflict(const char *uniqueid)
{
struct ast_channel *conflict;
int length = 0;
size_t length = 0;
if (ast_strlen_zero(uniqueid)) {
return 0;