[vlc-commits] dcp: Fix potentially invalid release
Hugo Beauzée-Luyssen
git at videolan.org
Fri Dec 22 10:50:51 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Dec 22 10:46:49 2017 +0100| [3d4c060b1e3203a3cf2160fe9d2c74701bc8f0c1] | committer: Hugo Beauzée-Luyssen
dcp: Fix potentially invalid release
CID #1463254
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d4c060b1e3203a3cf2160fe9d2c74701bc8f0c1
---
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