Bug #68691 [Opn->Fbk]: explicit uninitalized pointer

From: Date: Thu, 25 Aug 2016 10:28:32 +0000
Subject: Bug #68691 [Opn->Fbk]: explicit uninitalized pointer
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203538@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 Updated by: cmb@php.net Reported by: bugreports at internot dot info Summary: explicit uninitalized pointer -Status: Open +Status: Feedback Type: Bug Package: PHAR related Operating System: Linux Ubuntu 14.04 PHP Version: master-Git-2014-12-30 (Git) -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: 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? Previous Comments: ------------------------------------------------------------------------ [2014-12-30 04:21:41] 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. Thanks, ------------------------------------------------------------------------ [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

« previous php.bugs (#203538) next »