Fix incorrect bounds check for sector count. (Francisco Alonso and Jan Kaluza
at RedHat)
Use the proper sector size when checking stream offsets (Francisco Alonso and
Jan Kaluza at RedHat)
Correctly compute the truncated pascal string size (Francisco Alonso and
Jan Kaluza at RedHat)