diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2024-09-23 14:05:52 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-10-05 13:22:05 +0800 |
| commit | fb10c7a84661471cdcc8998d63703211b873c126 (patch) | |
| tree | 510276d63537634d6c238b4c8d62832ce6e0be9a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | crypto: drivers - Correct multiple typos in comments (diff) | |
| download | linux-fb10c7a84661471cdcc8998d63703211b873c126.tar.gz linux-fb10c7a84661471cdcc8998d63703211b873c126.zip | |
hwrng: core - Add WARN_ON for buggy read return values
If a buggy driver returns a length that is longer than the size
of the buffer provided to it, then this may lead to a buffer overread
in the caller.
Stop this by adding a check for it in the hwrng core.
Reported-by: Guangwu Zhang <guazhang@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
