This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: Fix regexp compiler with translation table


On Wed, May 12, 2004 at 01:50:34PM +0200, Andreas Schwab wrote:
> build_wcs_buffer didn't set mbs when a translation table is used.  This
> can result in all kinds of random behaviour during parsing due to use of
> uninitialized memory.
> 
> 2004-05-12  Andreas Schwab  <schwab@suse.de>
> 
> 	* posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
> 	when translating.

Do you have a testcase?  It would be greatly appreciated.

	Jakub


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