Skip to content

webrte-1.07

Choose a tag to compare

@github-actions github-actions released this 28 Aug 01:07
Fix the kernel pointer test rejecting every proc

The guard added in the previous commit used 0xFFFFFF8000000000, which is one
hex digit away from KERNBASE and far above where proc structs actually live.
They are malloc'd into the kernel heap - 0xFFFFF8.. in the direct map or
0xFFFFFE.. in the kernel map - so every real pointer failed the test, the walk
never started, and the installer reported "could not find SceShellCore".

The right bound is the start of the upper canonical half, 0xFFFF800000000000:
it accepts heap and image addresses alike while still rejecting NULL and any
userland pointer.