[vlc-commits] dcp: Fix potentially invalid release

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 22 11:06:27 CET 2017


vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Dec 22 10:46:49 2017 +0100| [b9bf3bcb650de4d0a6ff97041e9d41b58511f15b] | committer: Hugo Beauzée-Luyssen

dcp: Fix potentially invalid release

CID #1463254

(cherry picked from commit 3d4c060b1e3203a3cf2160fe9d2c74701bc8f0c1)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 modules/access/dcp/dcpdecrypt.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dcp/dcpdecrypt.cpp b/modules/access/dcp/dcpdecrypt.cpp
index 88cce85205..0531b3d6da 100644
--- a/modules/access/dcp/dcpdecrypt.cpp
+++ b/modules/access/dcp/dcpdecrypt.cpp
@@ -523,7 +523,7 @@ error:
 int RSAKey::readDER( unsigned char const* ps_data_der, size_t length )
 {
     struct tag_info tag_inf;
-    gcry_mpi_t key_params[8];
+    gcry_mpi_t key_params[8] = { NULL };
     gcry_error_t err;
 
     /* parse the ASN1 structure */



More information about the vlc-commits mailing list