Avoid overflow in MDC2_Update()
authorDr. Stephen Henson <steve@openssl.org>
Fri, 19 Aug 2016 22:28:29 +0000 (23:28 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 24 Aug 2016 13:24:53 +0000 (14:24 +0100)
commit2b4029e68fd7002d2307e6c3cde0f3784eef9c83
tree2a080a098b4e74474de7e3e8a89f197c248b4d36
parente95f5e03f6f1f8d3f6cbe4b7fa48e57b4cf8fd60
Avoid overflow in MDC2_Update()

Thanks to Shi Lei for reporting this issue.

CVE-2016-6303

Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 55d83bf7c10c7b205fffa23fa7c3977491e56c07)
crypto/mdc2/mdc2dgst.c