On 11.04.2025 09:55, Roger Pau Monne wrote:
> Given the following rangset operation:
> 
> { [0, 1], [4, 5] } - { [3, 4] }
> 
> The current rangeset logic will output a rangeset:
> 
> { [0, 2], [5, 5] }
> 
> This is incorrect, and also has the undesirable property of being bogus in
> a way that the resulting rangeset is expanded.
> 
> Fix this by making sure the bounds are correctly checked before modifying
> the previous range.
> 
> Fixes: 484a058c4828 ('Add auto-destructing per-domain rangeset data 
> structure...')
> Signed-off-by: Roger Pau Monné <roger....@citrix.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>



Reply via email to