mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8293176: SSLEngine handshaker does not send an alert after a bad parameters
Reviewed-by: mdonovan, jnimeh
This commit is contained in:
parent
fd52be2a3c
commit
fee9d3362c
2 changed files with 99 additions and 1 deletions
|
@ -1270,7 +1270,12 @@ final class SSLEngineImpl extends SSLEngine implements SSLTransport {
|
|||
Map.Entry<Byte, ByteBuffer> me =
|
||||
context.delegatedActions.poll();
|
||||
if (me != null) {
|
||||
context.dispatch(me.getKey(), me.getValue());
|
||||
try {
|
||||
context.dispatch(me.getKey(), me.getValue());
|
||||
} catch (Exception e) {
|
||||
throw context.conContext.fatal(Alert.INTERNAL_ERROR,
|
||||
"Unhandled exception", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue