commit | 4429a6c9b484bc02dfab1e020a9b6f9f77370331 | [log] [tgz] |
---|---|---|
author | Andrea Claudi <aclaudi@redhat.com> | Fri May 13 11:52:30 2022 +0200 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Tue May 17 12:57:45 2022 -0700 |
tree | eb75a4b780c9ae8d6f89addab8ad589ce667625b | |
parent | 6b6979b9d443d5008e9db5dbf2849de619a8fa67 [diff] |
tipc: fix keylen check Key length check in str2key() is wrong for hex. Fix this using the proper hex key length. Fixes: 28ee49e5153b ("tipc: bail out if key is abnormally long") Suggested-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Andrea Claudi <aclaudi@redhat.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>