Commit f5a7f2bb authored by Jean-Paul Saman's avatar Jean-Paul Saman

dr_76: crid_location has a maximum of 253-bytes

Properly terminate dvbpsi_crid_entry_t::value.path with a null-byte.
parent de599833
......@@ -81,7 +81,7 @@ typedef struct dvbpsi_crid_entry_s
uint8_t i_location; /*!< content location */
union
{
uint8_t path[253]; /*!< content path */
uint8_t path[254]; /*!< content path including null string terminator byte */
uint16_t ref; /*!< content reference */
} value; /*!< content specific value */
} dvbpsi_crid_entry_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment