bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segmentation fault in dcigettext.c:925 using Apache + PHP


From: Bruno Haible
Subject: Re: Segmentation fault in dcigettext.c:925 using Apache + PHP
Date: Sat, 06 Jun 2020 17:12:01 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; )

Wiebe Cazemier wrote:
> >> > This is valuable info. Can you please also attach all the files that
> >> > match the wildcard
> >> >  /var/www/website/includes/locale/zh*/LC_MESSAGES/messages.mo ?
> >> > 
> >> > Most probably, the .mo file has invalid offsets.
> >> 
> >> Can I send it to you privately? It should only be public texts, but I'm not
> >> sure.
> > 
> > Yes. Exceptionally, you can send it privately. I'll handle it 
> > confidentially.
> > 
> > Bruno
> 
> Thanks. I sent it.

The file you sent is a valid .mo file; in fact, it was (or could have been)
generated by GNU msgfmt.

The relevant code in glibc-2.27/intl/dcigettext.c is most likely correct;
no algorithmic bug is known in this code for more than 8 years.

The remaining likely possibility is that the application you are running has
memory bugs (writes into arbitrary locations). I would recommend that you
run this application under valgrind.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]