diff options
author | 2022-10-22 01:17:44 +0000 | |
---|---|---|
committer | 2022-10-28 12:36:34 +0800 | |
commit | 3efe90af4c0c46c58dba1b306de142827153d9c0 (patch) | |
tree | 2c56067612640ec3a97b6772720b7c9f36258646 /crypto/tcrypt.c | |
parent | crypto: af_alg - Support symmetric encryption via keyring keys (diff) | |
download | wireguard-linux-3efe90af4c0c46c58dba1b306de142827153d9c0.tar.xz wireguard-linux-3efe90af4c0c46c58dba1b306de142827153d9c0.zip |
crypto: hisilicon/qm - increase the memory of local variables
Increase the buffer to prevent stack overflow by fuzz test. The maximum
length of the qos configuration buffer is 256 bytes. Currently, the value
of the 'val buffer' is only 32 bytes. The sscanf does not check the dest
memory length. So the 'val buffer' may stack overflow.
Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions