Remove section_length attribute and test it to make sure the buffer is the right size.