0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 07:20:55 +01:00

ircd::ctx: Fix valid pointer range condition.

This commit is contained in:
Jason Volk 2019-09-03 22:08:15 -07:00
parent 9adba1b9dc
commit a205e722f3

View file

@ -2264,7 +2264,7 @@ ircd::ctx::is(const shared_state_base &st,
return st.p == nullptr;
case future_state::PENDING:
return uintptr_t(st.p) >= 0x1000;
return uintptr_t(st.p) >= ircd::info::page_size;
default:
return false;