PR: 2589
authorDr. Stephen Henson <steve@openssl.org>
Thu, 1 Sep 2011 13:52:38 +0000 (13:52 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 1 Sep 2011 13:52:38 +0000 (13:52 +0000)
Submitted by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Reviewed by: steve

Initialise p pointer.

crypto/dso/dso_vms.c

index 45adfb1587751afa19ebfd643a5108d4670555bd..eee20d14f128c321e670f6f105b6453f6e10e96c 100644 (file)
@@ -160,7 +160,7 @@ static int vms_load(DSO *dso)
 # define DSO_MALLOC OPENSSL_malloc
 #endif /* __INITIAL_POINTER_SIZE == 64 [else] */
 
 # define DSO_MALLOC OPENSSL_malloc
 #endif /* __INITIAL_POINTER_SIZE == 64 [else] */
 
-       DSO_VMS_INTERNAL *p;
+       DSO_VMS_INTERNAL *p = NULL;
 
 #if __INITIAL_POINTER_SIZE == 64
 # pragma pointer_size restore
 
 #if __INITIAL_POINTER_SIZE == 64
 # pragma pointer_size restore