Avoid uninitialized memory read/compare on short reads.

Change-Id: I7537f6d22780bace6ab6da06e087a3d27da8de05
Be more sensible about checking buffers of VML points we write.

Change-Id: Id3811dbe0cf2510ef6a851804b3886c14eca01b6