Skip to content

Commit 9c19d1e

Browse files
authored
Reword disclaimer regarding hash collision attacks (#557)
The old wording could be misunderstood to mean that even HashMap _values_ from untrusted sources could be problematic. The new wording stresses that the _keys_ are the problem.
1 parent 3dbdf8f commit 9c19d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unordered-containers.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description:
1313
.
1414
This package currently provides no defenses against hash collision attacks
1515
such as HashDoS.
16-
Users who need to store input from untrusted sources are advised to use
16+
Users who need to store keys derived from untrusted input are advised to use
1717
@Data.Map@ or @Data.Set@ from the @containers@ package instead.
1818
license: BSD3
1919
license-file: LICENSE

0 commit comments

Comments
 (0)