This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: I: [PATCH] few asprintf error handling fixes
- From: Roland McGrath <roland at redhat dot com>
- To: "Dmitry V. Levin" <ldv at altlinux dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 1 Jun 2004 17:48:57 -0700
- Subject: Re: I: [PATCH] few asprintf error handling fixes
> The current behavior is undefined behavior, the result pointer after
> failed asprintf call may contain any value, e.g. pointer to already freed
> memory. I'm doubt that some programs could depend on this behavior.
You mean that actually happens now?