diff options
author | Max Kellermann <max@duempel.org> | 2015-11-06 09:24:18 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-11-06 09:24:18 +0100 |
commit | 42f5ecd4a116c96d30bf407859dadaa9a053ea39 (patch) | |
tree | 644ee945bda37afde922b9a3306fd19c3af23200 /src/lib/nfs | |
parent | 733989a284d2f7cce37634b12afad72cc019f659 (diff) | |
download | mpd-42f5ecd4a116c96d30bf407859dadaa9a053ea39.tar.gz mpd-42f5ecd4a116c96d30bf407859dadaa9a053ea39.tar.xz mpd-42f5ecd4a116c96d30bf407859dadaa9a053ea39.zip |
util/StringCompare: use strncmp() instead of memcmp() in StringStartsWith()
Some optimized implementations of memcmp() may not start from the
beginning of the string, and may thus segfault.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions