|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2020 The PHP Group
All rights reserved.
Last updated: Sat Jun 06 17:01:26 2020 UTC