This was previously using the value of the uninitialized sz variable before it was actually assigned a value, rather than assigning the size indicated within the command buffer.
This was previously using the value of the uninitialized sz variable before it was actually assigned a value, rather than assigning the size indicated within the command buffer.