mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@45350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
12
LICENSE
12
LICENSE
@@ -5,6 +5,18 @@ applies to all loadable Asterisk modules used on your system as well,
|
|||||||
except as defined below. The GPL (version 2) is included in this
|
except as defined below. The GPL (version 2) is included in this
|
||||||
source tree in the file COPYING.
|
source tree in the file COPYING.
|
||||||
|
|
||||||
|
This package also includes various components that are not part of
|
||||||
|
Asterisk itself; these components are in the 'contrib' directory
|
||||||
|
and its subdirectories. Most of these components are also
|
||||||
|
distributed under the GPL version 2 as well, except for the following:
|
||||||
|
|
||||||
|
contrib/firmware/iax/iaxy.bin:
|
||||||
|
This file is Copyright (C) Digium, Inc. and is licensed for
|
||||||
|
use with Digium IAXy hardware devices only. It can be
|
||||||
|
distributed freely as long as the distribution is in the
|
||||||
|
original form present in this package (not reformatted or
|
||||||
|
modified).
|
||||||
|
|
||||||
Digium, Inc. (formerly Linux Support Services) holds copyright
|
Digium, Inc. (formerly Linux Support Services) holds copyright
|
||||||
and/or sufficient licenses to all components of the Asterisk
|
and/or sufficient licenses to all components of the Asterisk
|
||||||
package, and therefore can grant, at its sole discretion, the ability
|
package, and therefore can grant, at its sole discretion, the ability
|
||||||
|
@@ -2863,6 +2863,10 @@ static int get_input(struct skinnysession *s)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
dlen = letohl(*(int *)s->inbuf);
|
dlen = letohl(*(int *)s->inbuf);
|
||||||
|
if (dlen < 0) {
|
||||||
|
ast_log(LOG_WARNING, "Skinny Client sent invalid data.\n");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
if (dlen+8 > sizeof(s->inbuf)) {
|
if (dlen+8 > sizeof(s->inbuf)) {
|
||||||
dlen = sizeof(s->inbuf) - 8;
|
dlen = sizeof(s->inbuf) - 8;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user