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

Julian Scheel julian at jusst.de
Thu Sep 4 08:15:12 CEST 2014


Am 04.09.2014 um 05:12 schrieb Jean-Baptiste Kempf:
> 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.

Ah sorry, I rebased them on top of the vsync phase patches. I can rebase 
them directly onto HEAD.

-Julian




More information about the vlc-devel mailing list