aws / Jobs-for-AWS-IoT-embedded-sdk

Client library for using AWS IoT Jobs service on embedded devices
MIT License
13 stars 38 forks source link

Move declaration of temporary variables after length check #50

Closed dan4thewin closed 3 years ago

dan4thewin commented 3 years ago

Before, some temporary variables were declared to point to various positions in a string. These variables were safely accessed after a length check passed. Newer versions of CBMC flag this as a possible issue. This PR moves the declarations after the length check and the proof runs cleanly again.

dan4thewin commented 3 years ago

/bot run checks