These commits were superseeded by 74706da.

Revert "sapG: fixed memory access problems found by ASAN"
This reverts commit 62c7c37693d8a542fac1aeb66f0932d0e8fe318b.

Revert "sapB: fixed memory access problems found by ASAN"
This reverts commit b417c49d7876c81e023ac0d55aa9d6984e4b6ca4.