aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagString.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-11-02TagString: use g_strndup() for unterminated stringMax Kellermann1-1/+1
Fixes buffer overflow bug.
2014-10-10TagString: implement fix_utf8() without GLibMax Kellermann1-22/+34
2014-10-10TagString: return WritableBuffer<char>Max Kellermann1-17/+16
2014-10-10TagString: use strndup() for unterminated stringMax Kellermann1-1/+1
Fixes buffer overflow bug.
2014-10-10TagString: remove ISO-Latin-1 fallbackMax Kellermann1-14/+1
MPD handles all strings in UTF-8 internally. Those decoders which read Latin-1 tags are supposed to implement the conversion, instead of passing Latin-1 to TagBuilder::AddItem(). FixTagString() is simply the wrong place to do that, and hard-coding Latin-1 is kind of arbitrary.
2014-02-17TagString: disable UTF-8 validation if GLib is disabledMax Kellermann1-3/+13
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-07util/Alloc: new library replacing GLib's g_malloc()Max Kellermann1-5/+10
2013-09-05Tag: move fix_tag_value() to TagString.cxxMax Kellermann1-0/+126