Bug #68693 [Opn->Nab]: uninitalized pointer in PDO handling

From: Date: Sun, 10 Jul 2016 17:15:29 +0000
Subject: Bug #68693 [Opn->Nab]: uninitalized pointer in PDO handling
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202177@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68693&edit=1 ID: 68693 Updated by: mbeccati@php.net Reported by: bugreports at internot dot info Summary: uninitalized pointer in PDO handling -Status: Open +Status: Not a bug Type: Bug Package: PDO related Operating System: Linux Ubuntu 14.04 PHP Version: master-Git-2014-12-30 (Git) Block user comment: N Private report: N New Comment: If you look closely, such read doesn't occur in the code is generated by re2c. Previous Comments: ------------------------------------------------------------------------ [2014-12-30 05:06:51] bugreports at internot dot info Description: ------------ Hi, In /ext/pdo/pdo_sql_parser.c, an uninitalized pointer read may occur: 424 Scanner s; [..] 440 while((t = scan(&s)) != PDO_PARSER_EOI) { scan() will try to read s.ptr, which does not exist. Thanks, ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68693&edit=1

« previous php.bugs (#202177) next »