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:
parent
9adba1b9dc
commit
a205e722f3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue