Cherry-pick potential crash fix into 3.11.33.1
#1005 (closed): Fix potential crash in TransferPlaceCheck by adding pointer check
See merge request !683 (merged)
#1005 (closed): Fix potential crash in TransferPlaceCheck by adding pointer check
See merge request !683 (merged)