HomeFreeBSD

MFC r298518:

Description

MFC r298518:
ext2_htree_release(): prevent signed integer overflow in a loop.

h_levels_num, as most data structs in ext2fs, is unsigned so
the index that addresses it has to be unsigned as well.

To get to overflow here we would probably be considering a
degenerate case though.

MFC after: 5 days

Details

Provenance
pfgAuthored on
Parents
rS298724: MFC 297932,298295:
Branches
Unknown
Tags
Unknown