Fix invalid memory access displayiing contents of sections.