From dc171451c7a79e84e8bdb68cc18e8e87cc2e1c0f Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 20 Aug 2021 10:58:50 -0700 Subject: vkr: do not validate string sizes when they are 0 There is no need to validate string sizes as they are only encoded in one place, unlike with other dynamic arrays. We don't validate string sizes when they are non-zero already. This fixes the decoder to not validate when they are 0. Signed-off-by: Chia-I Wu Reviewed-by: Ryan Neph Reviewed-by: Yiwei Zhang --- src/venus/venus-protocol/vn_protocol_renderer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/venus/venus-protocol/vn_protocol_renderer.h') diff --git a/src/venus/venus-protocol/vn_protocol_renderer.h b/src/venus/venus-protocol/vn_protocol_renderer.h index d334d258..603977ee 100644 --- a/src/venus/venus-protocol/vn_protocol_renderer.h +++ b/src/venus/venus-protocol/vn_protocol_renderer.h @@ -1,4 +1,4 @@ -/* This file is generated by venus-protocol git-ab2774c8. */ +/* This file is generated by venus-protocol git-97ac37e8. */ /* * Copyright 2020 Google LLC -- cgit v1.2.3