Skip to content

Commit bb96ed6

Browse files
committed
Add security advisory to package description
Context: #319
1 parent 6588174 commit bb96ed6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

unordered-containers.cabal

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ description:
88
.
99
The declared cost of each operation is either worst-case or
1010
amortized, but remains valid even if structures are shared.
11+
.
12+
/Security/
13+
.
14+
This package provides no defenses against hash collision attacks such as
15+
HashDoS.
16+
Users who need to store input from untrusted sources are advised to use
17+
@Data.Map@ or @Data.Set@ from the @containers@ package instead.
1118
license: BSD3
1219
license-file: LICENSE
1320
author: Johan Tibell

0 commit comments

Comments
 (0)