checkedc / checkedc-fork

This was a fork of Checked C used from 2021-2024. The changes have been merged into the original Checked C repo.
Other
26 stars 3 forks source link

Fix failing test resulting from free variables merge #432

Closed secure-sw-dev-bot closed 2 years ago

secure-sw-dev-bot commented 2 years ago

This issue was copied from https://github.com/microsoft/checkedc/issues/433


The parsing/pointer_bounds_cast.c test expected an error where the bounds of 'x' are invalid after a dynamic bounds cast. The actual error is that it is impossible to prove that the bounds of 'x' are valid since there is no relational information between the variables 'cache1' in the inferred bounds and 'x' in the declared bounds.