Skip to content

Commit

Permalink
Stop leaking internal library pointers in error messages.
Browse files Browse the repository at this point in the history
Requested by miod@
  • Loading branch information
jsing committed Jul 13, 2014
1 parent 4e90488 commit fd68cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/libssl/src/ssl/ssl_asn1.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $OpenBSD: ssl_asn1.c,v 1.35 2014/07/13 21:35:27 jsing Exp $ */
/* $OpenBSD: ssl_asn1.c,v 1.36 2014/07/13 21:38:23 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
Expand Down Expand Up @@ -683,7 +683,7 @@ d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, long length)
return (ret);

err:
ERR_asprintf_error_data("address=%p offset=%d", *pp, (int)(c.q - *pp));
ERR_asprintf_error_data("offset=%d", (int)(c.q - *pp));
if (ret != NULL && (a == NULL || *a != ret))
SSL_SESSION_free(ret);

Expand Down

0 comments on commit fd68cac

Please sign in to comment.