PE: detect invalid resource address