qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] raw-format: Fix error message for invalid offset/size


From: Michael Tokarev
Subject: Re: [PATCH] raw-format: Fix error message for invalid offset/size
Date: Thu, 24 Oct 2024 18:23:32 +0300
User-agent: Mozilla Thunderbird

29.08.2024 21:55, Kevin Wolf wrote:
s->offset and s->size are only set at the end of the function and still
contain the old values when formatting the error message. Print the
parameters with the new values that we actually checked instead.

Fixes: 500e2434207d ('raw-format: Split raw_read_options()')
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

I picked this up for stable.  It's not a big deal but the change is trivial too.

JFYI,

/mjt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]