diff options
author | Ingela Anderton Andin <[email protected]> | 2014-04-30 12:21:10 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-04-30 12:21:10 +0200 |
commit | 6b483da9c102b1650ab103f78f57f9bd7c707781 (patch) | |
tree | 30eff9032a7b6147158c88974c696a46b0b2a8ef /lib/ssl/src/ssl_alert.hrl | |
parent | 138bdae063206223bb35258780e0ec1b4301967b (diff) | |
download | otp-6b483da9c102b1650ab103f78f57f9bd7c707781.tar.gz otp-6b483da9c102b1650ab103f78f57f9bd7c707781.tar.bz2 otp-6b483da9c102b1650ab103f78f57f9bd7c707781.zip |
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, |