Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68065 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13974 invoked from network); 4 Jul 2013 03:54:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2013 03:54:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.171 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.217.171 mail-lb0-f171.google.com Received: from [209.85.217.171] ([209.85.217.171:56395] helo=mail-lb0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/21-02453-EF1F4D15 for ; Wed, 03 Jul 2013 23:54:39 -0400 Received: by mail-lb0-f171.google.com with SMTP id 13so823927lba.30 for ; Wed, 03 Jul 2013 20:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=n4S/OfSCybxQ5PcVd2F/hNMt1FowM9DCBP2LG7L/eb0=; b=kGvzZz7LS/H7y4pwY+kJGw3qvs9WmfehqqjNKWKoTdlMbhmSMRqaSO/yzvmO5UQNxt muKq3VtvUrZsOK28jbYbCoOSt1tSnWjexR2OAxCwgUz/7w+FYSOmLYpme+F/kWq/pe7v mr6yHKt2uRrQTPACH8IpSMCeNnzYz2T6SCV+dkYQSXgcWU039Z+Y8CsJ/nZ6qJTvwZi/ o+RU7oamhrNlx61BLGPc+m6uQ4kaJbKrvxqX1fVtyd+GpCJ8tcsX52Bxultxr+vdT3oe y9vckmfyFwhwFIqd8rcTIUeWhU5Tu6k6V+UOSVSfm+PGuONdXqY8AUtIUuZqWIpQJNu3 f+pg== X-Received: by 10.112.34.209 with SMTP id b17mr2545571lbj.55.1372910076191; Wed, 03 Jul 2013 20:54:36 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.4.233 with HTTP; Wed, 3 Jul 2013 20:53:56 -0700 (PDT) In-Reply-To: References: Date: Thu, 4 Jul 2013 12:53:56 +0900 X-Google-Sender-Auth: 3Z3rlYHLzAjLRZTzZs8wiIXHEJQ Message-ID: To: Anthony Ferrara Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=14dae93d8ede666aec04e0a78992 Subject: Re: [PHP-DEV] String Size Refactor Progress From: yohgaki@ohgaki.net (Yasuo Ohgaki) --14dae93d8ede666aec04e0a78992 Content-Type: text/plain; charset=ISO-8859-1 Hi Anthony, 2013/7/3 Anthony Ferrara > I've migrated php_pcre.c over, but pcrelib still uses int for string sizes. > This is going to be a much larger refactor, and I wanted to see people's > thoughts prior to digging into it. > For upgradability and compatibility, bundled pcrelib should be left as it is. Instead, checking possible over/under flow before passes string is better. Most pre-complied systems use system's preclib, I suppose. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --14dae93d8ede666aec04e0a78992--