Mercurial > pidgin
changeset 19004:d4065b26dcac
- Fix intermittent crash due to uninitialized variable
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Sun, 08 Jul 2007 04:23:55 +0000 |
parents | 0b1a75eb5627 |
children | 2e064085b7df |
files | libpurple/plugins/ssl/ssl-gnutls.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/plugins/ssl/ssl-gnutls.c Sun Jul 08 02:52:40 2007 +0000 +++ b/libpurple/plugins/ssl/ssl-gnutls.c Sun Jul 08 04:23:55 2007 +0000 @@ -509,6 +509,7 @@ crt_dat = *( (gnutls_x509_crt_t *) crt->data); /* Obtain the output size required */ + out_size = 0; ret = gnutls_x509_crt_export(crt_dat, GNUTLS_X509_FMT_PEM, NULL, /* Provide no buffer yet */ &out_size /* Put size here */