This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] libio: Fix gconv-related memory leak [BZ #24583]


On Mai 21 2019, Florian Weimer <fweimer@redhat.com> wrote:

> 	[BZ #24583]
> 	* wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
> 	* wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
> 	* libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
> 	instead of __gconv_release_step.
> 	* libio/Makefile (tests): Add tst-wfile-gconv.
> 	(tests-container): Add tst-wfile-ascii.
> 	(tst-wfile-gconv-ENV): Enable mtrace.
> 	(generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
> 	(tests-special): Add tst-wfile-gconv-mem.out.
> 	(tst-wfile-gconv.out): Depend on locales.
> 	(tst-wfile-gconv-mem.out): Add mtrace rule.
> 	* libio/tst-wfile-ascii.c: New file.
> 	* libio/tst-wfile-gconv.c: Likewise.

Ok.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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