mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-21 20:56:39 +00:00
Merge "channel.c: Address stack overflow in does_id_conflict()"
This commit is contained in:
@@ -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)
|
static int does_id_conflict(const char *uniqueid)
|
||||||
{
|
{
|
||||||
struct ast_channel *conflict;
|
struct ast_channel *conflict;
|
||||||
int length = 0;
|
size_t length = 0;
|
||||||
|
|
||||||
if (ast_strlen_zero(uniqueid)) {
|
if (ast_strlen_zero(uniqueid)) {
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user