-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 12
-
b05
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8253163 | 11.0.10-oracle | Prajwal Kumaraswamy | P4 | Resolved | Fixed | b01 |
JDK-8225728 | 11.0.5 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
This is analogous to what was done in XDHKeyAgreement::engineGenerateSecret via JDK-8201317.
- if (offset + secretLen > sharedSecret.length) {
+ if (secretLen > sharedSecret.length - offset) {
- if (offset + secretLen > sharedSecret.length) {
+ if (secretLen > sharedSecret.length - offset) {
- backported by
-
JDK-8225728 Make comparison overflow-aware in ECDHKeyAgreement.engineGenerateSecret()
- Resolved
-
JDK-8253163 Make comparison overflow-aware in ECDHKeyAgreement.engineGenerateSecret()
- Resolved