- 15 Jun, 2016 1 commit
-
-
Milo Yip authored
Fix undefined behaviour
-
- 14 Jun, 2016 8 commits
-
-
Eli Fidler authored
-
Eli Fidler authored
UBSAN gave in Value.IsLosslessFloat: include/rapidjson/document.h:981:38: runtime error: value 3.40282e+38 is outside the range of representable values of type 'float'
-
Eli Fidler authored
note that std::numeric_limits<uint64_t>::max() and std::numeric_limits<int64_t>::max() aren't exactly representable in a double, so we need to be strictly less to be definitely lossless UBSAN gave during Value.IsLosslessDouble test: include/rapidjson/document.h:955:42: runtime error: value 1.84467e+19 is outside the range of representable values of type 'unsigned long'
-
Eli Fidler authored
UBSAN gave in Regex.Unicode test: include/rapidjson/encodings.h:157:28: runtime error: shift exponent 32 is too large for 32-bit type 'int'
-
Eli Fidler authored
UBSAN gave during Reader.ParseNumber_FullPrecisionDouble test: include/rapidjson/internal/strtod.h:149:11: runtime error: shift exponent 46 is too large for 32-bit type 'int'
-
Eli Fidler authored
UBSAN gave: runtime error: division by zero
-
Eli Fidler authored
maybe these tests should just be deleted? UBSAN gave: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long' runtime error: signed integer overflow: -9223372036854775808 - 2 cannot be represented in type 'long'
-
Eli Fidler authored
UBSAN gave for test/unittest/itoatest.cpp:87: runtime error: signed integer overflow: 4611686018427387904 * 2 cannot be represented in type 'long'
-
- 13 Jun, 2016 11 commits
-
-
Eli Fidler authored
UBSAN on Clang/Linux gave: runtime error: null pointer passed as argument 2, which is declared to never be null /usr/include/string.h:43:45: note: nonnull attribute specified here
-
Eli Fidler authored
UBSAN gave issues with the typeless Schema: runtime error: reference binding to null pointer of type 'rapidjson::GenericSchemaDocument<rapidjson::GenericValue<rapidjson::UTF16<wchar_t>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >, rapidjson::CrtAllocator>' and runtime error: member access within null pointer of type 'AllocatorType' (aka 'rapidjson::CrtAllocator')
-
Eli Fidler authored
UBSAN gave "runtime error: index 13 out of bounds for type 'const uint32_t [10]'"
-
Eli Fidler authored
specifically, "expression with side effects has no effect in an unevaluated context"
-
Eli Fidler authored
clang advises: "note: silence by adding parentheses to mark code as explicitly dead"
-
Eli Fidler authored
-
Eli Fidler authored
-
Eli Fidler authored
-
Milo Yip authored
-
Milo Yip authored
-
Milo Yip authored
switch Clang from broken Ubuntu PPA to upstream binary release
-
- 10 Jun, 2016 4 commits
-
-
Eli Fidler authored
This should fix the Travis clang builds, since the upstream LLVM apt repo is down.
-
Milo Yip authored
npm docs
-
Milo Yip authored
Fix cmake build with new gtest reference
-
Milo Yip authored
-
- 08 Jun, 2016 1 commit
-
-
Zhang Ye authored
-
- 23 May, 2016 1 commit
-
-
Milo Yip authored
Allow options for writing and parsing NaN/Infinity
-
- 20 May, 2016 1 commit
-
-
Michael Thon authored
This adds kWriteNanAndInfFlag to Writer to allow writing of nan, inf and -inf doubles as "NaN", "Infinity" and "-Infinity", respectively, and kParseNanAndInfFlag to Reader to allow parsing of "NaN", "Inf", "Infinity", "-Inf" and "-Infinity". This is part of issue #36, adding optional support for relaxed JSON syntax.
-
- 17 May, 2016 2 commits
-
-
Andrea Colaci authored
-
Andrea Colaci authored
-
- 11 May, 2016 4 commits
-
-
Milo Yip authored
npm compliant package.json
-
Milo Yip authored
fix some document problem
-
liujiayang authored
-
liujiayang authored
-
- 10 May, 2016 3 commits
-
-
Milo Yip authored
Added missing include guards in istreamwrapper.h and ostreamwrapper.h
-
Vlad Lipskiy authored
-
Milo Yip authored
-
- 09 May, 2016 4 commits
-
-
Andrea Colaci authored
-
Andrea Colaci authored
-
Andrea Colaci authored
-
Andrea Colaci authored
-