|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68691 explicit uninitalized pointer
Submitted: 2014-12-30 04:19 UTC Modified: 2016-09-04 04:22 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: bugreports at internot dot info Assigned: cmb (profile)
Status: No Feedback Package: PHAR related
PHP Version: master-Git-2014-12-30 (Git) OS: Linux Ubuntu 14.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bugreports at internot dot info
New email:
PHP Version: OS:


 [2014-12-30 04:19 UTC] bugreports at internot dot info

In /ext/phar/phar_path_check.c:
if the 'yy2' goto:


'YYMARKER' is never actually initalized. It should be YYMARKET = YYCURSOR.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-30 04:21 UTC] bugreports at internot dot info
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.

 [2016-08-25 10:28 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2016-08-25 10:28 UTC]
It seems to me that YYMARKER is always properly initialized before
yy2: is reached. Can you point out a code path where it is not?
 [2016-09-04 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Dec 06 15:03:34 2021 UTC