aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-27 19:36:24 +0100
committerMax Kellermann <max@duempel.org>2009-03-27 19:36:24 +0100
commit86827fc63e94997b1c5f2e9e966962473acc9694 (patch)
tree09c329123e2edb002440c05366d5574f2dcacab6 /src/tag.c
parent51894725ec02dd796878414168c25857e2e0b95a (diff)
downloadmpd-86827fc63e94997b1c5f2e9e966962473acc9694.tar.gz
mpd-86827fc63e94997b1c5f2e9e966962473acc9694.tar.xz
mpd-86827fc63e94997b1c5f2e9e966962473acc9694.zip
tag_pool: use memcmp() instead of strcmp() for non-terminated string
The strings passed to tag_pool_get_item() are not null-terminated, and the caller passes the string length. Don't assume it is null-terminated anyway by using strcmp().
Diffstat (limited to 'src/tag.c')
0 files changed, 0 insertions, 0 deletions