Commit 7a908216 authored by Jean-Paul Saman's avatar Jean-Paul Saman

SIS: check our section boundaries (CID #138526)

parent 8b0ba11b
......@@ -725,6 +725,9 @@ void dvbpsi_sis_sections_decode(dvbpsi_t* p_dvbpsi, dvbpsi_sis_t* p_sis,
p_desc += 4; /* E CRC 32 */
}
/* check our boundaries */
if (p_desc + 4 >= p_section->p_payload_end)
break;
/* point to next section */
p_byte = p_desc + 4 /* CRC 32 */;
}
......
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