[FFmpeg-devel] [PATCH] avcodec/fitsdec: fix use of uninitialised values

Michael Niedermayer michael at niedermayer.cc
Sun Sep 29 18:38:02 EEST 2019


On Sat, Sep 28, 2019 at 11:12:08PM -0300, James Almer wrote:
> header.data_max and header.data_min are not necessarely set on all decoding scenarios.
> 
> Fixes a Valgrind reported regression since cfa193779103c97bbfc28273a0ab12c114b6786d.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/fitsdec.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)

LGTM

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190929/1e80f84c/attachment.sig>


More information about the ffmpeg-devel mailing list