commit | 21d1d8104899b90301133f14ff90aa32e6abcecc | [log] [tgz] |
---|---|---|
author | Laurence Lundblade <lgl@island-resort.com> | Sat Sep 28 22:47:49 2019 -1000 |
committer | Laurence Lundblade <lgl@island-resort.com> | Sat Sep 28 22:47:49 2019 -1000 |
tree | 1cea64dc5779067f9ea24332f2822f3d305e90ad | |
parent | 6216b1be7536758f9256e69e2e3a93e6f9fd74bf [diff] [blame] |
Add test for too-large negative integer (and remove todo for this test)
diff --git a/src/qcbor_decode.c b/src/qcbor_decode.c index c35a29d..a5d81ac 100644 --- a/src/qcbor_decode.c +++ b/src/qcbor_decode.c
@@ -487,7 +487,7 @@ } else { // C can't represent a negative integer in this range - // so it is an error. todo -- test this condition + // so it is an error. nReturn = QCBOR_ERR_INT_OVERFLOW; } }