fix potential skb overflow when user-user-info is sent in an ALERTING message
This commit is contained in:
parent
f85a2af479
commit
d87bf83950
|
@ -516,7 +516,7 @@ plci_alert_req(struct FsmInst *fi, int event, void *arg)
|
|||
if (test_and_set_bit(PLCI_STATE_ALERTING, &plci->state)) {
|
||||
Info = 0x0003; // other app is already alerting
|
||||
} else {
|
||||
struct sk_buff *skb = mISDN_alloc_l3msg(10, MT_ALERTING);
|
||||
struct sk_buff *skb = mISDN_alloc_l3msg(260, MT_ALERTING);
|
||||
if (!skb) {
|
||||
int_error();
|
||||
goto answer;
|
||||
|
|
Loading…
Reference in New Issue