[vlc-commits] [Git][videolan/vlc][master] update: fix invalid free
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sat Jan 1 10:19:57 UTC 2022
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
69372b62 by Lyndon Brown at 2022-01-01T09:56:07+00:00
update: fix invalid free
- - - - -
1 changed file:
- src/misc/update.c
Changes:
=====================================
src/misc/update.c
=====================================
@@ -568,7 +568,10 @@ static void* update_DownloadReal( void *obj )
}
psz_tmpdestfile++;
if( asprintf( &psz_destfile, "%s%s", psz_destdir, psz_tmpdestfile ) == -1 )
+ {
+ psz_destfile = NULL;
goto end;
+ }
p_file = vlc_fopen( psz_destfile, "w" );
if( !p_file )
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/69372b62e200bfd2ae14cd08396c667b053e80ac
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/69372b62e200bfd2ae14cd08396c667b053e80ac
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list