-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 9
-
Component/s: security-libs
-
b72
-
windows
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8135993 | emb-9 | Ivan Gerasimov | P5 | Resolved | Fixed | team |
| JDK-8133395 | 8u71 | Ivan Gerasimov | P5 | Resolved | Fixed | b01 |
| JDK-8130433 | 8u66 | Ivan Gerasimov | P5 | Resolved | Fixed | b02 |
| JDK-8143744 | emb-8u71 | Ivan Gerasimov | P5 | Resolved | Fixed | b01 |
| JDK-8130441 | 7u91 | Ivan Gerasimov | P5 | Resolved | Fixed | b04 |
| JDK-8219284 | openjdk7u | Ivan Gerasimov | P5 | Resolved | Fixed | master |
| JDK-8130442 | 6u105 | Ivan Gerasimov | P5 | Resolved | Fixed | b05 |
In security.cpp:
if (hCryptProvAlt)
::CryptReleaseContext(hCryptProvAlt, 0);
...
if (hHash)
::CryptDestroyHash(hHash);
However, the doc states:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa380268(v=vs.85).aspx
all of these objects should be destroyed with calls to CryptDestroyKey and CryptDestroyHash *before* CryptReleaseContext is called.
if (hCryptProvAlt)
::CryptReleaseContext(hCryptProvAlt, 0);
...
if (hHash)
::CryptDestroyHash(hHash);
However, the doc states:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa380268(v=vs.85).aspx
all of these objects should be destroyed with calls to CryptDestroyKey and CryptDestroyHash *before* CryptReleaseContext is called.
- backported by
-
JDK-8130433 Do cleanup in a proper order in sunmscapi code
-
- Resolved
-
-
JDK-8130441 Do cleanup in a proper order in sunmscapi code
-
- Resolved
-
-
JDK-8130442 Do cleanup in a proper order in sunmscapi code
-
- Resolved
-
-
JDK-8133395 Do cleanup in a proper order in sunmscapi code
-
- Resolved
-
-
JDK-8135993 Do cleanup in a proper order in sunmscapi code
-
- Resolved
-
-
JDK-8143744 Do cleanup in a proper order in sunmscapi code
-
- Resolved
-
-
JDK-8219284 Do cleanup in a proper order in sunmscapi code
-
- Resolved
-
(2 backported by)