bf82069 Prevent an illegal memory access in gprof by ensuring that string tables for aout format files are always zero-terminated.

Authored and Committed by nickc 6 years ago
    Prevent an illegal memory access in gprof by ensuring that string tables for aout format files are always zero-terminated.
    
    	PR 23056
    	* aoutx.h (aout_get_external_symbols): Allocate an extra byte at
    	the end of the string table, and zero it.
    
        
file modified
+12 -0
file modified
+4 -3