On 2/23/26 20:39, Daniel P. Berrangé via Devel wrote:
> From: Daniel P. Berrangé <[email protected]>
> 
> Since e23fd0b7fd36c41e6db49df4f4962762d3ef6ab0 the stream read
> code will repeatedly try to read a message from the background
> thread until it has filled its buffer. When hitting EOF, there
> will be no message left on the queue, and if the read buffer
> was non-zero length an error will be raised. This should only
> be done if there was no data previously read off the stream.
> 
> Fixes: e23fd0b7fd36c41e6db49df4f4962762d3ef6ab0
> Reported-by: Roman Bogorodskiy <[email protected]>
> Signed-off-by: Daniel P. Berrangé <[email protected]>
> ---
>  src/util/virfdstream.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Michal Privoznik <[email protected]>

Michal

Reply via email to