[pcre-dev] [Bug 2429] layering violation with pcre2_maketabl…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2429] layering violation with pcre2_maketables make it easier to misuse
https://bugs.exim.org/show_bug.cgi?id=2429

--- Comment #1 from Philip Hazel <ph10@???> ---
Thank you for the comprehensive patch. I am slightly surprised that anybody is
considering the details of pcre2_maketables(), because I thought Unicode was
taking over the world. :-)

However, I see no problem in adding pcre2_maketables_free() as you have
suggested, and indeed, it probably should have been there already as there are
free() functions for everything else. I will implement it in due course.

I don't see any new API happening in the foreseeable future, but yes, an opaque
type should have been used. I wasn't paying enough attention when PCRE2 was
created. Probably because in my mind this feature is obsolescent.

--
You are receiving this mail because:
You are on the CC list for the bug.