From 87997686ee9a6c7aecec423f05bec21a938ec9bb Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sat, 26 Mar 2022 00:57:50 +0100 Subject: vppinfra: avoid mem overflow in hash_memory() Change-Id: Ic81aafd5f378de06e5ea8cdd6a59e07ff1a7afca Type: improvement Signed-off-by: Damjan Marion --- src/vppinfra/types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vppinfra/types.h') diff --git a/src/vppinfra/types.h b/src/vppinfra/types.h index 34b8b078fbf..24dd5b30e02 100644 --- a/src/vppinfra/types.h +++ b/src/vppinfra/types.h @@ -171,6 +171,8 @@ typedef u64 u64u __attribute__ ((aligned (1), __may_alias__)); typedef i16 i16u __attribute__ ((aligned (1), __may_alias__)); typedef i32 i32u __attribute__ ((aligned (1), __may_alias__)); typedef i64 i64u __attribute__ ((aligned (1), __may_alias__)); +typedef word wordu __attribute__ ((aligned (1), __may_alias__)); +typedef uword uwordu __attribute__ ((aligned (1), __may_alias__)); #endif /* included_clib_types_h */ -- cgit 1.2.3-korg