Motivation: Commit 3c4dfed08a introduced a regression in handling buffers that have no memoryAddress. Modifications: Fix regression and also add unit tests. Result: It's possible again to write buffers without memory address.
3c4dfed08a