check datasize before reading to avoid crash in case of invalid chunks
check datasize before reading to avoid crash in case of invalid chunks

umlaeute/ambix,iem-projects/ambix,umlaeute/ambix,iem-projects/ambix,kronihias/libambix,umlaeute/ambix,kronihias/libambix,iem-projects/ambix