+ i4l-fix-processing-of-the-last-byte-in-isdn_readbchan_tty.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     i4l: fix processing of the last byte in isdn_readbchan_tty()

has been added to the -mm tree.  Its filename is

     i4l-fix-processing-of-the-last-byte-in-isdn_readbchan_tty.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: i4l: fix processing of the last byte in isdn_readbchan_tty()
From: Karsten Keil <kkeil@xxxxxxx>


The changes in the tty handling contain a bug while accessing the last byte
in the skb.  Since special sequence for control of DTMF and FAX via ttyI*
devices handled via this path, these services do not work anymore.

Signed-off-by: Karsten Keil <kkeil@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/isdn/i4l/isdn_common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/isdn/i4l/isdn_common.c~i4l-fix-processing-of-the-last-byte-in-isdn_readbchan_tty drivers/isdn/i4l/isdn_common.c
--- a/drivers/isdn/i4l/isdn_common.c~i4l-fix-processing-of-the-last-byte-in-isdn_readbchan_tty
+++ a/drivers/isdn/i4l/isdn_common.c
@@ -933,7 +933,7 @@ isdn_readbchan_tty(int di, int channel, 
 			count_put = count_pull;
 			if(count_put > 1)
 				tty_insert_flip_string(tty, skb->data, count_put - 1);
-			last = skb->data[count_put] - 1;
+			last = skb->data[count_put - 1];
 			len -= count_put;
 #ifdef CONFIG_ISDN_AUDIO
 		}
_

Patches currently in -mm which might be from kkeil@xxxxxxx are

origin.patch
use-list_add_tail-instead-of-list_add.patch
capi-crash--race-condition.patch
fix-typo-in-drivers-isdn-hisax-q931c.patch
isdn4linux-gigaset-base-driver-improve-error-recovery.patch
isdn4linux-gigaset-driver-cleanup.patch
i4l-gigaset-drivers-add-ioctls-to-compat_ioctlh.patch
i4l-fix-processing-of-the-last-byte-in-isdn_readbchan_tty.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux