From: Eric Bollengier Date: Tue, 1 Feb 2022 09:18:36 +0000 (+0100) Subject: Fix #8762 Allow up to 4096 in comment field X-Git-Tag: Beta-15.0.0~656 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bbf2d64cc58e8a7dbb39496bebafae8fdcf81c8;p=thirdparty%2Fbacula.git Fix #8762 Allow up to 4096 in comment field --- diff --git a/bacula/src/dird/ua_input.c b/bacula/src/dird/ua_input.c index a457ea632..f93008c86 100644 --- a/bacula/src/dird/ua_input.c +++ b/bacula/src/dird/ua_input.c @@ -235,7 +235,7 @@ bool is_comment_legal(UAContext *ua, const char *name) return 0; } len = strlen(name); - if (len >= MAX_NAME_LENGTH) { + if (len >= 4096) { if (ua) { ua->error_msg(_("Comment too long.\n")); }