This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use x{v,}asprintf some more


Uros Bizjak <ubizjak@gmail.com> 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

-- 
ak@linux.intel.com -- Speaking for myself only


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]