mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Don't use strcmp to compare the candidate key with the search key, as the search key may not be NUL terminated. Use strncmp and a length check on the candidate key.
5.4 KiB
5.4 KiB