doc/share/security/patches/SA-14:10/openssl.patch
Xin LI 6705d61482 Add the latest advisory and 3 new errata notices:
Fix OpenSSL NULL pointer deference vulnerability. [SA-14:09]

  Add pkg bootstrapping, configuration and public keys. [EN-14:03]
  Improve build repeatability for kldxref(8). [EN-14:04]
  Fix data corruption with ciss(4). [EN-14:05]
2014-05-13 23:55:52 +00:00

15 lines
540 B
Diff

Index: crypto/openssl/ssl/s3_pkt.c
===================================================================
--- crypto/openssl/ssl/s3_pkt.c (revision 265111)
+++ crypto/openssl/ssl/s3_pkt.c (working copy)
@@ -657,6 +657,10 @@ static int do_ssl3_write(SSL *s, int type, const u
if (i <= 0)
return(i);
/* if it went, fall through and send more stuff */
+ /* we may have released our buffer, so get it again */
+ if (wb->buf == NULL)
+ if (!ssl3_setup_write_buffer(s))
+ return -1;
}
if (len == 0 && !create_empty_fragment)