diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2025-11-24 08:04:19 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2025-11-24 08:55:49 +0000 |
| commit | 080caeb9e30c884ab78354eae80c53cc47d8d49b (patch) | |
| tree | f6cc8b3627b869d96e3c0d772d88299ce95dce77 /syz-ci | |
| parent | 4fb8ef376b21a14e0ed92c40c92913ac567bd2a3 (diff) | |
pkg/hash: support hashing strings
Currently passing wrong types (e.g. a string) to hash.Hash/String leads
to silent misbehavior: the part is ignored in the hash.
This is a very bad failure mode. Panic loudly.
And support hashing strings.
Diffstat (limited to 'syz-ci')
0 files changed, 0 insertions, 0 deletions
