On Tue, May 12, 2026 at 13:11:58 +0200, Ján Tomko via Devel wrote:
From: Ján Tomko <jtomko@redhat.com>
^^^^ is not publicly accessible. This patch thus lacks *any* form of explanation or justification.
Signed-off-by: Ján Tomko <jtomko@redhat.com> --- src/util/virutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/virutil.c b/src/util/virutil.c index 187b8202dd..2cc7edac50 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -1223,7 +1223,7 @@ virGetSubIDs(virSubID **retval, const char *file)
*retval = NULL;
- if (virFileReadAll(file, BUFSIZ, &buf) < 0) + if (virFileReadAll(file, SIZE_MAX, &buf) < 0)
Also this will likely require a comment stating *why* we allow unlimited reads. Maybe you can cite the discussion from the upstream issue filed for this which does provide some.