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: Wiebe Cazemier
Subject: Re: Segmentation fault in dcigettext.c:925 using Apache + PHP
Date: Sun, 7 Jun 2020 11:55:41 +0200 (CEST)

----- Original Message -----
> From: "Bruno Haible" <bruno@clisp.org>
> To: "Wiebe Cazemier" <wiebe@halfgaar.net>
> Cc: bug-gettext@gnu.org
> Sent: Saturday, 6 June, 2020 17:12:01
> Subject: Re: Segmentation fault in dcigettext.c:925 using Apache + PHP
>
> 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

Thanks for looking. This is going to be at tricky one, also because it's hard 
to reproduce. It could be Apache or ModPHP.



reply via email to

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