protobuf-lua
protobuf-lua copied to clipboard
the bug in pb.h line 336
if ((b & 0x80) == 0) => if ((s->p[i-1] & 0x80) == 0)
the error: while (i != count) { int b = s->p[i] & 0x7F; n |= (uint64_t)b << (7*i); ++i; if ((b & 0x80) == 0) { *pv = n; s->p += i; return i; } }