On Fri, Dec 26, 2014 at 9:52 PM, Andi Kleen <a...@firstfloor.org> wrote: > Uros Bizjak <ubiz...@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.
Please see the patch, where existing asprintfs are replaced with the new one from libiberty. I didn't touch asprints that have their result used. Uros.