mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
[ Upstream commitc977950146] This error handling looks really strange. Check if the string has been truncated instead. Fixes:02ab994635("crypto: hisilicon - Fixed some tiny bugs of HPRE") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
12d2087a7d
commit
0c824b77ad
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue