Bug#310635: some programs segfault when run with belocs-locales-* installed
tags 310635 - patch
thanks
On Tue, May 24, 2005 at 11:35:25PM +0200, Denis Barbier wrote:
> Many thanks to Eugeniy who spent hours during last week to help me
> understand what's going wrong here.
> The conclusion is that there is a bug in strxfrm_l.c. I just filed
> BZ#968 upstream. The proposed patch is quite trivial, but I could
> not test it. It can be reviewed without knowing strxfrm_l.c internals,
> the issue is that the variable in a decremental loop is unsigned and
> checked by backw >= backw_stop whereas backw_stop may be 0.
> I would be glad if you glibc guys could review and apply this patch.
> Thanks
I was eventually able to test this patch. Eugeniy's test case still
segfaults, I will work on a better patch, strcoll_l.c needs to be
fixed too.
Denis
Reply to: