[gold patch] Fix usage of invalidated version string in Symbol_table::define_special_symbol

Viktor Kutuzov vkutuzov@accesssoftek.com
Thu Sep 22 20:14:00 GMT 2011


ping

-Viktor

On Fri, 2011-09-16 at 14:05 -0700, Viktor Kutuzov wrote:
> Hi Ian,
> 
> I found that the Symbol_table::define_special_symbol method can return a
> pointer to an invalidated version string from the local std::string
> object (v) in case of condition only_if_ref == true. This patch should
> fix this problem.
> 
> -Viktor.
> 
> 	* symtab.cc (Symbol_table::define_special_symbol): Fix usage of
> 	the invalidated version string.



More information about the Binutils mailing list