Null protection for section op.

Change-Id: I42fde6f0e7d7baa2d2d9b8798496deedfb27a235
(cherry picked from commit fcadf7f2d6cc116e3975a7ae788f3553d5168502)