fix potential skb overflow when user-user-info is sent in an ALERTING message

This commit is contained in:
Günther Kelleter 2006-09-14 15:41:05 +00:00
parent f85a2af479
commit d87bf83950
1 changed files with 1 additions and 1 deletions

View File

@ -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;