Check for overflow when getting symbol name.

If there is a malformed elf with a particularly large st_name value,
then an overflow can occur. Check for this condition and ignore the
symbols that would cause an overflow.

Bug: 21162746
(cherry picked from commit 14de40d95372863fff4f460fb7e128404d87f8f4)

Change-Id: Icf44695b83b8371e176b9f303e43a182bd7bed4e
1 file changed