[FFmpeg-devel] [PATCH] avformat/vapoursynth: properly initialize err variable in read_header_vs()

Michael Niedermayer michael at niedermayer.cc
Fri Jan 4 17:01:00 EET 2019


On Fri, Jan 04, 2019 at 02:17:02AM +0900, nu774 wrote:
> The variable "err" is not initialized, and set only when something went wrong.
> When everything is OK, nobody sets it, so using it result in UB.
> ---
>  libavformat/vapoursynth.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

thanks

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

Democracy is the form of government in which you can choose your dictator
-------------- 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/20190104/e8bea92a/attachment.sig>


More information about the ffmpeg-devel mailing list