From 4d451f90eba193a4ca2848c4ac7acccda96ed008 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Wed, 2 Oct 2024 22:09:31 -0600 Subject: lib9p: Validate Twalk and Rwalk list sizes --- cmd/sbc_harness/config/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h index fb3c5ae..5a3d5a1 100644 --- a/cmd/sbc_harness/config/config.h +++ b/cmd/sbc_harness/config/config.h @@ -54,7 +54,7 @@ * unmarshaled-host-structures than marshaled-net-bytes due to (1) * struct padding, (2) nul-terminator byes for strings. */ -# define CONFIG_9P_MAX_HOSTMSG_SIZE CONFIG_9P_MAX_MSG_SIZE +# define CONFIG_9P_MAX_HOSTMSG_SIZE CONFIG_9P_MAX_MSG_SIZE+16 #endif #endif /* _CONFIG_H */ -- cgit v1.2.3-2-g168b