snapuserd: Fix PrepareReadAhead
When checking the instead of current, and when checking the position, we could underflow, which would get caught by UBSAN Bug: 177104308 Test: Map cow file with xor op or copy op at position 0 Change-Id: I4fba1982419e08b58759ec893e238175d245dbfc
Loading
Please register or sign in to comment