bugfix
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@946 e3a754e5-d11d-0410-8d38-ebb782a927b9
This commit is contained in:
@@ -148,8 +148,8 @@ static bool read_raw_value(pb_istream_t *stream, int wire_type, uint8_t *buf, si
|
||||
{
|
||||
(*size)++;
|
||||
if (*size > max_size) return false;
|
||||
if (!pb_read(stream, buf++, 1)) return false;
|
||||
} while (*buf & 0x80);
|
||||
if (!pb_read(stream, buf, 1)) return false;
|
||||
} while (*buf++ & 0x80);
|
||||
return true;
|
||||
|
||||
case WT_64BIT:
|
||||
|
||||
Reference in New Issue
Block a user