diff options
author | Max Bruckner <max@maxbruckner.de> | 2017-02-03 16:34:50 +0100 |
---|---|---|
committer | Max Bruckner <max@maxbruckner.de> | 2017-02-03 18:36:13 +0100 |
commit | 41e2837df1b1091643aff073f2313f6ff3cc10f4 (patch) | |
tree | a96a4a02fd4662a9c076fcb21c1f4877afa1a439 /tests/unity/examples/example_2/src/ProductionCode.c | |
parent | ecd5678527a6bc422da694e5be9e9979878fe6a0 (diff) | |
download | cjson-41e2837df1b1091643aff073f2313f6ff3cc10f4.tar.gz cjson-41e2837df1b1091643aff073f2313f6ff3cc10f4.zip |
Fix potentially undefined behavior when filling valueint
If the number is bigger or smaller than the biggest or smallest integer,
the behavior would be undefined.
This commit defines it as saturation behavior.
Diffstat (limited to 'tests/unity/examples/example_2/src/ProductionCode.c')
0 files changed, 0 insertions, 0 deletions