On Thu, Jun 12, 2025 at 12:03:58AM +0000, Lidong Chen wrote: > In LzmaEnc_CodeOneBlock(), both GetOptimumFast() and GetOptimum() > returns a value of greater or equal to 1, which is assigned to > 'len'. But since LZMA_MATCH_LEN_MIN == 2, 'len' should be validated > before performing "len - LZMA_MATCH_LEN_MIN" to avoid underflow > when 'len' equals to 1. > > Fixed: CID 51508 > > Signed-off-by: Lidong Chen <[email protected]>
Reviewed-by: Daniel Kiper <[email protected]> Daniel _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
