[RFC][PATCH]BZ#2337 Fix for spurious free of user buffer on fclose with wide char orientation.

Ulrich Drepper drepper@redhat.com
Fri Oct 6 15:41:00 GMT 2006


Ryan S. Arnold wrote:
> RFC regarding bugzilla 2337 -libio in wide mode deallocates user
> supplied buffer:

This issue is much more complicated.  Wide streams and user-provided
buffers are not correctly handled at all in the moment.  The buffer
should be used for the wide buffers, not the buffers for FILE back
streams used to store the result of the conversion.  I have been working
on and off on this.  It'll eventually get fixed, it's just not important
enough to not be interrupted by other work.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20061006/5bb87183/attachment.sig>


More information about the Libc-alpha mailing list