[pcre-dev] [Bug 1519] pcre_compile crash on solaris

Page principale
Supprimer ce message
Auteur: Prashant Joshi
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1519] pcre_compile crash on solaris
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1519




--- Comment #11 from Prashant Joshi <pjoshi@???> 2014-09-24 14:36:56 ---
Hi,

We are testing this on English locale.
Will it make any difference if we will not use pcre_maketables()?
For other locales this API will impact but for English it should not.

Regards
Prashant Joshi
Team Lead C/C++ (CA Engagement)
HCL Technologies Ltd.
A-8/9, Sector 60, Noida 201301, U.P. (India)
Mob: +91-9717055938
E-Mail: pjoshi@???
www.hcltech.com
www.hcl.in

-----Original Message-----
From: admin@??? [mailto:admin@bugs.exim.org] On Behalf Of Philip
Hazel
Sent: Wednesday, September 24, 2014 2:44 PM
To: Prashant Joshi - ERS, HCL Tech
Subject: [Bug 1519] pcre_compile crash on solaris

------- You are receiving this mail because: -------
You reported the bug.

http://bugs.exim.org/show_bug.cgi?id=1519




--- Comment #10 from Philip Hazel <ph10@???> 2014-09-24 10:13:59
---
On Wed, 24 Sep 2014, Prashant Joshi wrote:

> On windows and Linux we are using below code:
>
> options = options | PCRE_UTF8;
> table = pcre_maketables();
> pattern = pcre_compile(outStr, options, &error, &errptr,table);


What happens if you replace "table" in that call by NULL? What locale is
set when you run pcre_maketables() ?

Philip


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction,
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and
other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email