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

Julian Scheel julian at jusst.de
Wed Sep 3 10:40:46 CEST 2014


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(-)

-- 
2.1.0




More information about the vlc-devel mailing list