On Fri, Dec 26, 2014 at 2:00 PM, Uros Bizjak wrote:
> This patch uses x{v,}asprintf where the result of the function is unused.
>
> 2014-12-26 Uros Bizjak
>
> * diagnostic.c (build_message_string): Use xvasprintf.
> * final.c (output_operand_lossage): Use xvasprintf and xasprintf.
>
On Fri, Dec 26, 2014 at 9:52 PM, Andi Kleen wrote:
> Uros Bizjak writes:
>
>> Hello!
>>
>> This patch uses x{v,}asprintf where the result of the function is unused.
>
> I would be careful with it. Some old glibc versions have an asprintf
> that corrupts memory. If you do this force the libiberty
Uros Bizjak writes:
> Hello!
>
> This patch uses x{v,}asprintf where the result of the function is unused.
I would be careful with it. Some old glibc versions have an asprintf
that corrupts memory. If you do this force the libiberty version
unconditionally.
-Andi
--
a...@linux.intel.com -- Sp
Hello!
This patch uses x{v,}asprintf where the result of the function is unused.
2014-12-26 Uros Bizjak
* diagnostic.c (build_message_string): Use xvasprintf.
* final.c (output_operand_lossage): Use xvasprintf and xasprintf.
* lto-wrapper.c (merge_and_complain): Use xasprintf.