vlc | branch: master | Rémi Duraffort <[email protected]> | Wed Dec 11 20:14:42 2013 +0100| [72165d749252d4721052a6bad1f00e17f2d59487] | committer: Rémi Duraffort
update: fix use after free > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72165d749252d4721052a6bad1f00e17f2d59487 --- src/misc/update_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/update_crypto.c b/src/misc/update_crypto.c index 8e60fb0..1cdfccd 100644 --- a/src/misc/update_crypto.c +++ b/src/misc/update_crypto.c @@ -922,8 +922,8 @@ int download_signature( vlc_object_t *p_this, signature_packet_t *p_sig, if( packet_type( *p_buf ) != SIGNATURE_PACKET ) { - free( p_buf ); msg_Dbg( p_this, "Not a signature: %d", *p_buf ); + free( p_buf ); return VLC_EGENERIC; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
