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

Julian Scheel julian at jusst.de
Thu Sep 4 12:43:00 CEST 2014

Update summary v2:
- Rebase onto vlc/master before pending vsync phase series

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  | 26 ++++++++++++++++----------
 2 files changed, 27 insertions(+), 10 deletions(-)


More information about the vlc-devel mailing list