From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.1] dm-qcow2: reject v3 images with header_length below 104
Date: Mon, 16 Nov 2026 18:21:07 +0100 [thread overview]
Message-ID: <179484966766.861498.3399248022287877640.b4-review@b4> (raw)
In-Reply-To: <20261116103752.2878746-1-alexander.ivanov@virtuozzo.com>
Applying as is.
On Mon, 16 Nov 2026 11:37:52 +0100, Alexander Ivanov wrote:
> + if (hdr->header_length < offsetof(struct QCowHeader, compression_type))
> + return -EINVAL;
This is the check 66195f78dd3c dropped, back with qemu's threshold and
error code. No tool writes a v3 header below 104, so only a broken
image is refused.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-11-16 17:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 10:37 Alexander Ivanov
2026-11-16 10:40 ` no-reply
2026-11-16 17:21 ` Konstantin Khorenko [this message]
2026-11-16 17:21 ` Konstantin Khorenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179484966766.861498.3399248022287877640.b4-review@b4 \
--to=khorenko@virtuozzo.com \
--cc=alexander.ivanov@virtuozzo.com \
--cc=devel@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.