Handlebars-Net / Handlebars.Net

A real .NET Handlebars engine
MIT License
1.24k stars 214 forks source link

Fix collision handling in`FixedSizeDictionary` #512

Closed oformaniuk closed 2 years ago

oformaniuk commented 2 years ago

In rare cases (depended on hashcode) as part of searching for a suitable place in the array search started from index greater than array length.

Issues:

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

87.5% 87.5% Coverage
0.0% 0.0% Duplication