diff options
author | Ingela Anderton Andin <[email protected]> | 2014-05-09 12:16:30 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-05-09 12:16:30 +0200 |
commit | 726a6beccce6ff77d9c3910396b9680147accd12 (patch) | |
tree | dc94e5911e4c868c314e180ecd12425e37e42f9f /lib/ssl/src/ssl_alert.hrl | |
parent | 17a4fefd66da7e34775c5ddb9ac146816d5abd42 (diff) | |
parent | 6b483da9c102b1650ab103f78f57f9bd7c707781 (diff) | |
download | otp-726a6beccce6ff77d9c3910396b9680147accd12.tar.gz otp-726a6beccce6ff77d9c3910396b9680147accd12.tar.bz2 otp-726a6beccce6ff77d9c3910396b9680147accd12.zip |
Merge branch 'ia/ssl/false-alerts/OTP-11890' into maint
* ia/ssl/false-alerts/OTP-11890:
ssl: Add checks to avoid processing of illegal alerts
Diffstat (limited to 'lib/ssl/src/ssl_alert.hrl')
-rw-r--r-- | lib/ssl/src/ssl_alert.hrl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_alert.hrl b/lib/ssl/src/ssl_alert.hrl index 2d1f323085..f4f1d74264 100644 --- a/lib/ssl/src/ssl_alert.hrl +++ b/lib/ssl/src/ssl_alert.hrl @@ -104,6 +104,8 @@ -define(ALERT_REC(Level,Desc), #alert{level=Level,description=Desc,where={?FILE, ?LINE}}). +-define(MAX_ALERTS, 10). + %% Alert -record(alert, { level, |