mmal/codec: Check picture buffer size before usage
We need to make sure that a buffer is big enough to store the amount of data we expect to receive from the decoder. Without doing this memory could be corrupted due to the decoder writing outside the allocate memory. Signed-off-by:Julian Scheel <julian@jusst.de> Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment