[dvblast-devel] fix buffer overflow in MMI menus
Christophe Massiot
git at videolan.org
Mon Sep 29 17:58:50 CEST 2014
dvblast | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Mon Sep 29 17:47:48 2014 +0200| [e8c528d29ec2700b0e672eb9e7effb37a1a03c6d] | committer: Christophe Massiot
fix buffer overflow in MMI menus
> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=e8c528d29ec2700b0e672eb9e7effb37a1a03c6d
---
en50221.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/en50221.c b/en50221.c
index c30ae1b..ec15c40 100644
--- a/en50221.c
+++ b/en50221.c
@@ -205,7 +205,7 @@ static uint8_t *SetLength( uint8_t *p_data, int i_length )
*/
#define MAX_TPDU_SIZE 4096
-#define MAX_TPDU_DATA (MAX_TPDU_SIZE - 4)
+#define MAX_TPDU_DATA (MAX_TPDU_SIZE - 7)
#define DATA_INDICATOR 0x80
More information about the dvblast-devel
mailing list