Re: [PATCH 1/4] fs/hfsplus: Validate btree node size

2023-04-20 Thread Vladimir 'phcoder' Serbinenko
LGTM On Thu, Apr 20, 2023 at 8:00 PM Lidong Chen wrote: > > The invalid btree node size can cause crashes when parsing > the btree. The fix is to ensure the btree node size is within > the valid range defined in the HFS Plus techical note, TN1150. > > https://developer.apple.com/library/archive/t

[PATCH 1/4] fs/hfsplus: Validate btree node size

2023-04-20 Thread Lidong Chen
The invalid btree node size can cause crashes when parsing the btree. The fix is to ensure the btree node size is within the valid range defined in the HFS Plus techical note, TN1150. https://developer.apple.com/library/archive/technotes/tn/tn1150.html Signed-off-by: Lidong Chen --- grub-core/f