diff --git a/src/lib66/parse/parse_compute_list.c b/src/lib66/parse/parse_compute_list.c index 211912d9211b7394009cedd476806afe64ca7ef3..04c520f3fbc5801be82bc55c5484033bba298abb 100644 --- a/src/lib66/parse/parse_compute_list.c +++ b/src/lib66/parse/parse_compute_list.c @@ -31,6 +31,9 @@ * */ int parse_compute_list(resolve_wrapper_t_ref wres, stralloc *sa, uint32_t *res, uint8_t opts) { + + if (!sa->len) + return resolve_add_string(wres, "") ; int r, found = 0 ; size_t len = sa->len, pos = 0 ; size_t nelement = sastr_nelement(sa) ;