[PATCH 2/2] p2p: fix out of scope read