Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.7.7
-
None
-
None
-
windows, linux w signed char
Description
iscntrl assumes 0-255 but signed char gets expanded to bad things
pullreq #38 on github solves the issue.
change line 196 lang/c++/impl/json/JsonIO.hh
from
if (! iscntrl(*p)) {
to
if (! iscntrl((uint8_t) *p)) {
Attachments
Attachments
Issue Links
- duplicates
-
AVRO-1190 C++ json parser fails to decode multibyte unicode code points
- Resolved