Bug #68670 [Opn->Asn]: Incorrect file handling

From: Date: Tue, 30 Dec 2014 02:48:24 +0000
Subject: Bug #68670 [Opn->Asn]: Incorrect file handling
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189319@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68670&edit=1 ID: 68670 Updated by: aharvey@php.net Reported by: bugreports at internot dot info Summary: Incorrect file handling -Status: Open +Status: Assigned Type: Bug -Package: *General Issues +Package: phpdbg Operating System: Linux Ubuntu 14.04 PHP Version: master-Git-2014-12-28 (Git) -Assigned To: +Assigned To: krakjoe Block user comment: N Private report: N New Comment: Joe (or Bob), any thoughts? Previous Comments: ------------------------------------------------------------------------ [2014-12-28 22:37:45] bugreports at internot dot info Description: ------------ Hi, In /sapi/phpdbg/phpdbg_prompt.c: 877 if ((fd=VCWD_POPEN((char*)param->str, "w"))) { uses popen(), but it is freed using fclose(): 879 fclose(fd); It should be using pclose(fd). Thanks ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68670&edit=1

« previous php.bugs (#189319) next »