mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-11-03 20:53:13 +03:00 
			
		
		
		
	The _dl_read_only_area function in the uninitialized ld.so after
static dlopen is not able to find anything.  Instead, we need to
redirect to the code from the statically linked main program.
Fixes commit d60fffe28a46b2a41fc308c1804ff02375d27408 ("debug:
Improve '%n' fortify detection (BZ 30932)").
Reviewed-by: Adhemerval Zanella Netto  <adhemerval.zanella@linaro.org>
		
	
		
			
				
	
	
		
			2 lines
		
	
	
		
			40 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			2 lines
		
	
	
		
			40 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "tst-sprintf-fortify-rdonly.c"
 |