freebsd/pkg — pull request #513 by zxombie (2013-06-04 21:36:26+00:00)
Title: Stop processing the note section at the end of it.

The code may look past the end of the .note.tag section if there is no version note in it. This patch fixes this b checking if it is still in it before continuing the loop.