/[pkgs]/devel/openssl/openssl-1.0.0-beta3-ssl-session.patch
ViewVC logotype

Contents of /devel/openssl/openssl-1.0.0-beta3-ssl-session.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Oct 8 18:45:10 2009 UTC (6 weeks, 3 days ago) by tmraz
Branch: MAIN
CVS Tags: openssl-1_0_0-0_10_beta3_fc13, openssl-1_0_0-0_9_beta3_fc13
File MIME type: text/x-patch
* Thu Oct  8 2009 Tomas Mraz <tmraz@redhat.com> 1.0.0-0.9.beta3
- fix typo in DTLS1 code (#527015)
- fix leak in error handling of d2i_SSL_SESSION()
1 Index: openssl/ssl/ssl_asn1.c
2 RCS File: /v/openssl/cvs/openssl/ssl/ssl_asn1.c,v
3 rcsdiff -q -kk '-r1.36.2.2' '-r1.36.2.3' -u '/v/openssl/cvs/openssl/ssl/ssl_asn1.c,v' 2>/dev/null
4 --- openssl/ssl/ssl_asn1.c 2009/08/05 15:29:14 1.36.2.2
5 +++ openssl/ssl/ssl_asn1.c 2009/09/02 13:20:22 1.36.2.3
6 @@ -413,8 +413,8 @@
7 }
8 else
9 {
10 - SSLerr(SSL_F_D2I_SSL_SESSION,SSL_R_UNKNOWN_SSL_VERSION);
11 - return(NULL);
12 + c.error=SSL_R_UNKNOWN_SSL_VERSION;
13 + goto err;
14 }
15
16 ret->cipher=NULL;
17 @@ -505,8 +505,8 @@
18 {
19 if (os.length > SSL_MAX_SID_CTX_LENGTH)
20 {
21 - ret->sid_ctx_length=os.length;
22 - SSLerr(SSL_F_D2I_SSL_SESSION,SSL_R_BAD_LENGTH);
23 + c.error=SSL_R_BAD_LENGTH;
24 + goto err;
25 }
26 else
27 {

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2