Simon Resch
|
0c3588330a
|
Set error codes for truncating int conversions
json_object_get_int/int64/uint64() now sets errno to ERANGE when the source value
can't be represented in the target type.
|
2024-11-27 07:17:20 +01:00 |
|
Simon Resch
|
8c13801f2c
|
Explicitly handle NaN values when converting to int
Json objects of type double with the value NaN could cause undefined
behavior when casting double to int in `json_object_get_int`.
|
2024-11-27 07:17:20 +01:00 |
|
Simon Resch
|
839fbe0d63
|
Add fuzz tests for json_object/point/array apis
Extends the coverage of fuzz tests executed in OSS-Fuzz.
|
2024-11-22 07:43:32 +01:00 |
|