[FFmpeg-devel] [PATCH 2/3] nutdec: always check the get_str return value
Michael Niedermayer
michaelni at gmx.at
Sat May 23 00:50:36 CEST 2015
On Fri, May 22, 2015 at 11:36:32PM +0200, Andreas Cadhalpun wrote:
> If it fails, the buffers can be (partially) uninitialized.
>
> This fixes 'Conditional jump or move depends on uninitialised value(s)'
> valgrind warnings.
>
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
> libavformat/nutdec.c | 27 ++++++++++++++++++++++-----
> 1 file changed, 22 insertions(+), 5 deletions(-)
LGTM
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150523/aca6a79c/attachment.asc>
More information about the ffmpeg-devel
mailing list