Bug #68674 [Asn->Nab]: Invalid free

From: Date: Sat, 08 Aug 2015 14:03:12 +0000
Subject: Bug #68674 [Asn->Nab]: Invalid free
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195026@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68674&edit=1 ID: 68674 Updated by: bwoebi@php.net Reported by: bugreports at internot dot info Summary: Invalid free -Status: Assigned +Status: Not a bug Type: Bug Package: phpdbg Operating System: Linux Ubuntu 14.04 PHP Version: master-Git-2014-12-29 (Git) -Assigned To: krakjoe +Assigned To: bwoebi Block user comment: N Private report: N New Comment: There's no invalid free. The check is to prevent the literal "" (with which str is initialized) to be freed. Hence it checks whether the first byte is not 0. Previous Comments: ------------------------------------------------------------------------ [2014-12-29 01:54:08] bugreports at internot dot info Description: ------------ Hi, In /sapi/phpdbg/phpdbg_bp.c: 211 if ((*str)[0]) { 212 efree(*str); As you can see from line 211, *str is an array. Thanks, ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68674&edit=1

« previous php.bugs (#195026) next »