Commit 47777579 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

ANDROID: page_pinner: prevent pp_buffer access before initialization



If page_pinner is configured with page_pinner_enabled=false and
failure_tracking=true, pp_buffer will be accessed without being
initialized. Prevent this by adding page_pinner_inited checks in
functions that access it.

Bug: 259024332
Bug: 260179017
Bug: 240196534
Change-Id: I8f612cae3e74d36e8a4eee5edec25281246cbe5e
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Signed-off-by: default avatarRichard Chang <richardycc@google.com>
(cherry picked from commit 83b784c3)
Signed-off-by: default avatarGeorgi Djakov <quic_c_gdjako@quicinc.com>
parent 94fc21c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment