json2protobuf: fix heap-buffer-overflow reported by asan
json2protobuf: fix heap-buffer-overflow reported by asan

Caused by 0fbffcb40fd1907fca65340727adb860700604ee

Sannis/protobuf2json-c,Sannis/protobuf2json-c,Sannis/protobuf2json-c