From a932cc532dc6f2abf4cb8de8c177fcc47dd8e6b8 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Thu, 24 Mar 2022 22:58:54 +0100 Subject: [PATCH] [smartpl] Increase size of parse output buffer To accommodate for larger smart playlists --- src/parsers/smartpl_parser.y | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/parsers/smartpl_parser.y b/src/parsers/smartpl_parser.y index 40801e1e..b7404982 100644 --- a/src/parsers/smartpl_parser.y +++ b/src/parsers/smartpl_parser.y @@ -194,10 +194,13 @@ int smartpl_lex_parse(struct smartpl_result *result, const char *input); #endif } -/* Definition of struct that will hold the parsing result */ +/* Definition of struct that will hold the parsing result + * Some users have sizeable smart playlists, e.g. listing many artist names, + * which translate to sizeable sql queries. + */ %code requires { struct result_part { - char str[512]; + char str[4096]; int offset; };