From 9bcfd3a47da540abeb2da06471cf2fa11c14db49 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 1 Nov 2009 15:37:16 +0100 Subject: text_file: allocate line buffers dynamically Use a single GString buffer object in all functions loading the database. Enlarge it automatically for long lines. This eliminates the maximum line length for tag values. There is still an upper limit of 512 kB to prevent denial of service, but that's reasonable I guess. --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 2f865d52b..59955eb61 100644 --- a/NEWS +++ b/NEWS @@ -53,6 +53,7 @@ ver 0.16 (20??/??/??) * renamed option "--stdout" to "--stderr" * removed options --create-db and --no-create-db * state_file: save only if something has changed +* database: eliminated maximum line length * obey $(sysconfdir) for default mpd.conf location * build with large file support by default * require GLib 2.16 -- cgit v1.2.3