Bug #68691 [Opn]: explicit uninitalized pointer
| From: | bugreports at internot dot info | Date: | Tue, 30 Dec 2014 04:21:42 +0000 |
| Subject: | Bug #68691 [Opn]: explicit uninitalized pointer | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-189328@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68691&edit=1
ID: 68691
User updated by: bugreports at internot dot info
Reported by: bugreports at internot dot info
Summary: explicit uninitalized pointer
Status: Open
Type: Bug
Package: PHAR related
Operating System: Linux Ubuntu 14.04
PHP Version: master-Git-2014-12-30 (Git)
Block user comment: N
Private report: N
New Comment:
Ok, I should have proof-read that.
I meant:
if the 'yy2' goto is ever executed, it will cause problems:
[..]
[..] It should be YYMARKER = YYCURSOR.
Thanks,
Previous Comments:
------------------------------------------------------------------------
[2014-12-30 04:19:56] bugreports at internot dot info
Description:
------------
Hi,
In /ext/phar/phar_path_check.c:
if the 'yy2' goto:
96yy2:
97 YYCURSOR = YYMARKER;
'YYMARKER' is never actually initalized. It should be YYMARKET = YYCURSOR.
Thanks,
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68691&edit=1