]> git.karo-electronics.de Git - karo-tx-linux.git/commit
V4L/DVB: dvb-core: Fix ULE decapsulation bug
authorAng Way Chuang <wcang79@gmail.com>
Thu, 27 May 2010 05:02:09 +0000 (02:02 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:26:47 +0000 (10:26 -0700)
commit10f8b8a554ba0868f747a4e3040a9e3e375449f0
tree01302dcaeae3eccfc12199456da5d8f0bd111458
parent110ba286f6ed622a3ca630b6005b1a2d43b18ca5
V4L/DVB: dvb-core: Fix ULE decapsulation bug

commit 5c331fc8c19e181bffab46e9d18e1637cdc47170 upstream.

Fix ULE decapsulation bug when less than 4 bytes of ULE SNDU is packed
into the remaining bytes of a MPEG2-TS frame

ULE (Unidirectional Lightweight Encapsulation RFC 4326) decapsulation
code has a bug that incorrectly treats ULE SNDU packed into the
remaining 2 or 3 bytes of a MPEG2-TS frame as having invalid pointer
field on the subsequent MPEG2-TS frame.

Signed-off-by: Ang Way Chuang <wcang@nav6.org>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/dvb/dvb-core/dvb_net.c