RT3060: Limit the number of empty records.
authorAdam Langley <agl@chromium.org>
Tue, 19 Aug 2014 15:57:53 +0000 (17:57 +0200)
committerEmilia Kasper <emilia@openssl.org>
Fri, 22 Aug 2014 13:53:26 +0000 (15:53 +0200)
commitb0873dbb4469b4ecca9dd6684418a6e14a1714fd
tree212e27bec596b3b73e1da83ecfdcc2d1752f04a3
parent48ae65be091e783ffc7f2de1de52ed548bbf4e35
RT3060: Limit the number of empty records.

Limit the number of empty records that will be processed consecutively
in order to prevent ssl3_get_record from never returning.

Reported by "oftc_must_be_destroyed" and George Kadianakis.

Reviewed-by: Bodo Moeller <bodo@openssl.org>
(cherry picked from commit 3aac17a82fbaf2bc23ee62f24611e5883d3e7b97)
ssl/s3_pkt.c