Breakpad Linux dumper: Compare section names correctly.
Breakpad Linux dumper: Compare section names correctly.

FindSectionByName will return the first section whose name starts with
NAME, because strncmp stops the comparison once NAME's characters have
been found to match. The comparison stops before the terminating '\0'.
For example, if we search for the section named ".eh_frame", we may
get the section named ".eh_frame_hdr".

Instead, check that the section name section has enough space to store
the complete name with its terminating '\0', and then use strcmp,
which will never examine more than strlen(NAME) + 1 bytes from the
section name section, regardless of its contents, and will require the
terminating '\0' to match as well.

a=jimblandy, r=nealsid


git-svn-id: 7939527bf0a06ad24ad020f729d5600cb42ed5d7@525 4c0a9323-5329-0410-9bdc-e9ce6186880e

AlekSi/google-breakpad-mirror,albertz/google-breakpad,bbcallen/google-breakpad,mhoran/google-breakpad,AlekSi/google-breakpad-mirror,Quiark/google-breakpad,bittorrent/breakpad,darwin/breakpad,darwin/breakpad,bittorrent/breakpad,bittorrent/breakpad,Quiark/google-breakpad,AlekSi/google-breakpad-mirror,AlekSi/google-breakpad-mirror,wesen/google-breakpad,bbcallen/google-breakpad,mhoran/google-breakpad,Quiark/google-breakpad,hkratz/breakpad_track_svn,colesbury/google-breakpad,albertz/google-breakpad,wesen/google-breakpad,wesen/google-breakpad,bbcallen/google-breakpad,wesen/google-breakpad,albertz/google-breakpad,colesbury/google-breakpad,hkratz/breakpad_track_svn,albertz/google-breakpad,Quiark/google-breakpad,Quiark/google-breakpad,colesbury/google-breakpad,hkratz/breakpad_track_svn,wesen/google-breakpad,colesbury/google-breakpad,bbcallen/google-breakpad,hkratz/breakpad_track_svn,wesen/google-breakpad,hkratz/breakpad_track_svn,hkratz/breakpad_track_svn,albertz/google-breakpad,bbcallen/google-breakpad,bittorrent/breakpad,darwin/breakpad,bittorrent/breakpad,mhoran/google-breakpad,mhoran/google-breakpad,Quiark/google-breakpad,bittorrent/breakpad,colesbury/google-breakpad,colesbury/google-breakpad,bbcallen/google-breakpad,AlekSi/google-breakpad-mirror,bittorrent/breakpad,albertz/google-breakpad,mhoran/google-breakpad,mhoran/google-breakpad