Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'media/v7.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media

Pull media fix from Mauro Carvalho Chehab:
"Fix for MPEG-TS decoder in dvb-net"

* tag 'media/v7.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
media: dvb-net: fix OOB access in ULE extension header tables

+3
+3
drivers/media/dvb-core/dvb_net.c
··· 228 228 unsigned char hlen = (p->ule_sndu_type & 0x0700) >> 8; 229 229 unsigned char htype = p->ule_sndu_type & 0x00FF; 230 230 231 + if (htype >= ARRAY_SIZE(ule_mandatory_ext_handlers)) 232 + return -1; 233 + 231 234 /* Discriminate mandatory and optional extension headers. */ 232 235 if (hlen == 0) { 233 236 /* Mandatory extension header */