[vlc-devel] [PATCH 0/2] mmal: Fix memory corruption

Jean-Baptiste Kempf jb at videolan.org
Thu Sep 4 05:12:59 CEST 2014


Le 03/09/2014 01:40, Julian Scheel a écrit :
> This patch series fixes memory corruption when the mmal codec was provided
> with pictures that did not fit it's size dependencies. This was experienced
> when the mmal codec was initialised in opaque mode but the vout could not
> provide pictures of MMAL_OPAQUE type, which then had ain actual data size of
> zero bytes.
>
> Julian Scheel (2):
>    mmal/vout: Properly populate plane specification
>    mmal/codec: Check picture buffer size before usage
>
>   modules/hw/mmal/codec.c | 11 +++++++++++
>   modules/hw/mmal/vout.c  | 23 +++++++++++++++--------
>   2 files changed, 26 insertions(+), 8 deletions(-)
>

Those patches (notably the vout) do not apply cleanly on the HEAD.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list