Guard against index-out-of-bounds when loading sections.

Bug: 70834
Change-Id: Id0d7fb55cb9fe64867d63565c1a0d6b6cb59c26a