0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 12:18:54 +02: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;