Fix the issue for parsing zero length message (#6592)
* When length is zero, substr returns null instead of emptry string, which breaks the invariable for message. * Tested in https://github.com/protocolbuffers/protobuf/pull/6560pull/6601/head
parent
14b55eb128
commit
e9d4e4acbc
1 changed files with 6 additions and 2 deletions
Loading…
Reference in new issue