Merge "[RESTRICT AUTOMERGE] Fix potential decrypt destPtr overflow." into pi-dev