From 146a9c22efac6cb746ef4024144f28af891dd2b4 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Fri, 14 Aug 2015 18:54:11 -0700 Subject: Added lots of decoder tests and fixed lots of bugs. --- upb/pb/decoder.int.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'upb/pb/decoder.int.h') diff --git a/upb/pb/decoder.int.h b/upb/pb/decoder.int.h index a63f74b..b7e462b 100644 --- a/upb/pb/decoder.int.h +++ b/upb/pb/decoder.int.h @@ -220,9 +220,9 @@ struct upb_pbdecoder { /* Buffer for residual bytes not parsed from the previous buffer. * The maximum number of residual bytes we require is 12; a five-byte - * unknown tag plus an eight-byte value, less one because the value + * unknown tag plus a ten-byte value, less one because the value * is only a partial value. */ - char residual[12]; + char residual[14]; char *residual_end; /* Bytes of data that should be discarded from the input beore we start -- cgit v1.2.3