[vlc-commits] addons: fsstorage: fix use after free

Francois Cartegnie git at videolan.org
Fri Feb 14 15:31:46 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Feb 14 15:23:55 2014 +0100| [75911f54a9c0da989597581328ebbf6b001e784f] | committer: Francois Cartegnie

addons: fsstorage: fix use after free

cid #1174899

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75911f54a9c0da989597581328ebbf6b001e784f
---

 modules/misc/addons/fsstorage.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/misc/addons/fsstorage.c b/modules/misc/addons/fsstorage.c
index fcc3df7..d2bbd92 100644
--- a/modules/misc/addons/fsstorage.c
+++ b/modules/misc/addons/fsstorage.c
@@ -647,8 +647,8 @@ static int WriteCatalog( addons_storage_t *p_storage,
 
     if( i_ret == -1 )
     {
-        msg_Err( p_storage, "could not rename %s: %s",
-                 psz_file_tmp, vlc_strerror_c(errno) );
+        msg_Err( p_storage, "could not rename temp catalog: %s",
+                 vlc_strerror_c(errno) );
         return VLC_EGENERIC;
     }
 



More information about the vlc-commits mailing list