diff options
author | Josh Haberman <jhaberman@gmail.com> | 2015-08-14 18:54:11 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2015-08-14 18:54:11 -0700 |
commit | 146a9c22efac6cb746ef4024144f28af891dd2b4 (patch) | |
tree | 3e43d77eaa169772bd72e6dabfabf44b2e38f7c6 /upb/pb/decoder.int.h | |
parent | 782670e6a3d924a66adf23c94732603103b97223 (diff) |
Added lots of decoder tests and fixed lots of bugs.
Diffstat (limited to 'upb/pb/decoder.int.h')
-rw-r--r-- | upb/pb/decoder.int.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |