scudo: Check for UAF in ring buffer before OOB in more distant blocks.

It's more likely that we have a UAF than an OOB in blocks that are
more than 1 block away from the fault address, so the UAF should
appear first in the error report.

Differential Revision: https://reviews.llvm.org/D102379

GitOrigin-RevId: 9567131d03650bbaa82251f173bd6959e04d471d
Change-Id: I8637f49dd60fe774ed4b96f8056823753c422f1e
1 file changed