Re: Anyone confirm this?
| From: | Sander Roobol | Date: | Mon, 07 Oct 2002 15:16:27 +0000 |
| Subject: | Re: Anyone confirm this? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89164@lists.php.net to get a copy of this message | ||
It appears to be a typo. See
http://cvs.php.net/diff.php/php4/ext/standard/quot_print.c?r1=1.10&r2=1.11
The old code checked [i+1] and [i+2], while the new (rev. 1.11) code
checks [i+1] twice...
Sander
On Mon, Oct 07, 2002 at 09:35:53AM -0400, Dan Kalowsky wrote:
>
>
> Begin forwarded message:
>
> >From: mclap@simpage.mv.ru
> >Date: Mon Oct 7, 2002 8:24:14 AM US/Eastern
> >To: php-bugs@lists.php.net
> >Subject: #19798 [NEW]: mistype in source
> >
> >From: mclap@simpage.mv.ru
> >Operating system: any
> >PHP version: 4.2.3
> >PHP Bug Type: Unknown/Other Function
> >Bug description: mistype in source
> >
> >php-4.2.3/ext/standard/quot_print.c
> >---
> > while ( str_in[i] )
> > {
> > switch (str_in[i])
> > {
> > case '=':
> > if (str_in[i+1] && str_in[i+2] &&
> > isxdigit((int)str_in[i+1]) &&
> > isxdigit((int)str_in[i+1]) )
> > {
> > str_out[j++] = (php_hex2int((int)str_in[i+1]) << 4 )
> > + php_hex2int((int)str_in[i+2]);
> > i += 3;
> > }
> >---
> >
> >may be lines above must looking like:
> >---
> > if (str_in[i+1] && str_in[i+2] &&
> > isxdigit((int)str_in[i+1]) &&
> > isxdigit((int)str_in[i+2]) )
> >---
> >???
> >
> >--
> >Edit bug report at http://bugs.php.net/?id=19798&edit=1
> >--
> >Try a CVS snapshot:
> >http://bugs.php.net/fix.php?id=19798&r=trysnapshot
> >Fixed in CVS:
> >http://bugs.php.net/fix.php?id=19798&r=fixedcvs
> >Fixed in release:
> >http://bugs.php.net/fix.php?id=19798&r=alreadyfixed
> >Need backtrace:
> >http://bugs.php.net/fix.php?id=19798&r=needtrace
> >Try newer version:
> >http://bugs.php.net/fix.php?id=19798&r=oldversion
> >Not developer issue:
> >http://bugs.php.net/fix.php?id=19798&r=support
> >Expected behavior:
> >http://bugs.php.net/fix.php?id=19798&r=notwrong
> >Not enough info:
> >http://bugs.php.net/fix.php?id=19798&r=notenoughinfo
> >Submitted twice:
> >http://bugs.php.net/fix.php?id=19798&r=submittedtwice
> >register_globals:
> >http://bugs.php.net/fix.php?id=19798&r=globals
> >PHP 3 support discontinued:
> >http://bugs.php.net/fix.php?id=19798&r=php3
> >Daylight Savings:
> >http://bugs.php.net/fix.php?id=19798&r=dst
> >IIS Stability:
> >http://bugs.php.net/fix.php?id=19798&r=isapi
> >
> >---------------------------------------------------------------<
> Dan Kalowsky "I'll walk a thousand miles just
> http://www.deadmime.org/~dank to slip this skin."
> dank-nom@aps-deadmime.org - "Streets of Philadelphia",
> kalowsky@php.net Bruce Springsteen
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>