mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
dir_list() compares an entry's leading directory with the previous entry's using memcmp() over the directory's length, which reads past the end of the previous name when that is shorter. strncmp() stops at its end.