zephyr/tests/net/lib
Ravi kumar Veeramally 434a92e48f tests: net: Fix CoAP coverity issues
Fix unintended sign extension (SIGN_EXTENSION).

The result of "coap_block_size_to_bytes() * (iter - 1)"
extending the sign type.

Issue is the conversion of iter from u8_t to int because it's
an unsigned operand in an binary subtraction with 1 which is
a signed operand with higher conversion rank (int).

Fixes #20880
Fixes #20881
Fixes #20882
Fixes #20883

Coverity CID :205780
Coverity CID :205786
Coverity CID :205806
Coverity CID :205808

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
2019-11-26 13:35:20 +01:00
..
coap tests: net: Fix CoAP coverity issues 2019-11-26 13:35:20 +01:00
dns_addremove tests: updated names for the dns tests 2019-10-18 15:30:06 +03:00
dns_packet tests: net: stop whitelisting 2019-09-20 09:21:11 +03:00
dns_resolve tests: updated names for the dns tests 2019-10-18 15:30:06 +03:00
http_header_fields tests: net: stop whitelisting 2019-09-20 09:21:11 +03:00
mqtt_packet tests: net: stop whitelisting 2019-09-20 09:21:11 +03:00
mqtt_publisher tests: net: stop whitelisting 2019-09-20 09:21:11 +03:00
mqtt_pubsub tests: net: stop whitelisting 2019-09-20 09:21:11 +03:00
mqtt_subscriber tests: net: stop whitelisting 2019-09-20 09:21:11 +03:00
tls_credentials tests: net: tls: Increasing stack size 2019-10-17 17:01:23 +03:00