mirror of git://gcc.gnu.org/git/gcc.git
				
				
				
			re PR other/86198 (Libbacktrace does not properly work with ".note.gnu.build-id" section)
libbacktrace/ 2018-06-21 Denis Khalikov <d.khalikov@partner.samsung.com> PR other/86198 * elf.c (elf_add): Increase ".note.gnu.build-id" section size checking up to 36 bytes. From-SVN: r261832
This commit is contained in:
		
							parent
							
								
									802743baca
								
							
						
					
					
						commit
						1ac6620a52
					
				|  | @ -1,3 +1,9 @@ | |||
| 2018-06-21 Denis Khalikov <d.khalikov@partner.samsung.com> | ||||
| 
 | ||||
| 	PR other/86198 | ||||
| 	* elf.c (elf_add): Increase ".note.gnu.build-id" section size | ||||
| 	checking up to 36 bytes. | ||||
| 
 | ||||
| 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com> | ||||
| 
 | ||||
| 	* configure: Regenerated. | ||||
|  |  | |||
|  | @ -2868,7 +2868,7 @@ elf_add (struct backtrace_state *state, const char *filename, int descriptor, | |||
| 	  if (note->type == NT_GNU_BUILD_ID | ||||
| 	      && note->namesz == 4 | ||||
| 	      && strncmp (note->name, "GNU", 4) == 0 | ||||
| 	      && shdr->sh_size < 12 + ((note->namesz + 3) & ~ 3) + note->descsz) | ||||
| 	      && shdr->sh_size <= 12 + ((note->namesz + 3) & ~ 3) + note->descsz) | ||||
| 	    { | ||||
| 	      buildid_data = ¬e->name[0] + ((note->namesz + 3) & ~ 3); | ||||
| 	      buildid_size = note->descsz; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Denis Khalikov
						Denis Khalikov