]> git.sesse.net Git - vlc/commitdiff
addons: fsstorage: fix use after free
authorFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 14 Feb 2014 14:23:55 +0000 (15:23 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 14 Feb 2014 14:23:55 +0000 (15:23 +0100)
cid #1174899

modules/misc/addons/fsstorage.c

index fcc3df7919b9a4b8594f27da8941a49775ff4692..d2bbd920fcd733329b125937dab64367abddc8f3 100644 (file)
@@ -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;
     }