]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix uninitialized variable access.
authorSimon Josefsson <simon@josefsson.org>
Wed, 3 Jun 2009 03:16:01 +0000 (05:16 +0200)
committerSimon Josefsson <simon@josefsson.org>
Wed, 3 Jun 2009 03:16:01 +0000 (05:16 +0200)
lib/x509/crq.c

index 0f426d06e81bd730751c911a93bbad407403ef0c..e04df2b76666c5942eea8619fd7a83cc5bde2961 100644 (file)
@@ -1867,7 +1867,7 @@ gnutls_x509_crq_set_subject_alt_name (gnutls_x509_crq_t crq,
 {
   int result = 0;
   opaque tmp[MAX_CRQ_EXTENSIONS_SIZE];
-  size_t tmp_size;
+  size_t tmp_size = 0;
   gnutls_datum_t der_data = { NULL, 0 };
   gnutls_datum_t prev_der_data;
   unsigned int critical = 0;