Skip to content
Snippets Groups Projects
Commit a8246c28 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

ts: Fix out of bound read

cid #1352638
parent 2444495a
No related branches found
No related tags found
No related merge requests found
......@@ -278,7 +278,7 @@ static const char * const rgpsz_ATSC_A53_service_types[] =
static const char * ATSC_A53_get_service_type( uint8_t i_type )
{
if( i_type == 0 || i_type > 6 )
if( i_type == 0 || i_type > 5 )
return NULL;
return rgpsz_ATSC_A53_service_types[i_type - 1];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment