]> git.kernelconcepts.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)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 1 Jun 2010 04:24:21 +0000 (01:24 -0300)
commit5c331fc8c19e181bffab46e9d18e1637cdc47170
tree93ab576de4328c3861ac734f91210e2d9d9aa21e
parent84b14f181a36eea6591779156ef356f8d198bbfd
V4L/DVB: dvb-core: Fix ULE decapsulation bug

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>
drivers/media/dvb/dvb-core/dvb_net.c