Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nasa#823, avoid infinite loop in CDS registry find
The CFE_ES_FindCDSInRegistry function had an unusual loop control structure with mixed types of signed and unsigned. This has the possibility of being infinite if the MaxNumRegEntries is zero due to the way the end condition is structured. Simplify to be like other loops and use unsigned int control variable.
- Loading branch information