Bug #79576 [Asn->Csd]: "TYPE *" shows unhelpful message when type is not defined

From: Date: Wed, 15 Sep 2021 12:01:36 +0000
Subject: Bug #79576 [Asn->Csd]: "TYPE *" shows unhelpful message when type is not defined
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236623@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79576&edit=1 ID: 79576 Updated by: git@php.net Reported by: grzegorz129 at gmail dot com Summary: "TYPE *" shows unhelpful message when type is not defined -Status: Assigned +Status: Closed Type: Bug Package: *Extensibility Functions Operating System: macOS 10.15.4 PHP Version: 7.4.5 Assigned To: dmitry Block user comment: N Private report: N New Comment: Automatic comment on behalf of dstogov Revision: https://github.com/php/php-src/commit/0badc7de9681b3bafefd88c79603e1929b2918aa Log: Fixed bug #79576 ("TYPE *" shows unhelpful message when type is not defined) Previous Comments: ------------------------------------------------------------------------ [2021-09-15 10:35:10] dmitry@php.net A better fix https://github.com/php/php-src/pull/7496 Unfortunately, it disclose memory leaks caused by incomplete clenup after parser error. ------------------------------------------------------------------------ [2021-09-15 10:31:09] dmitry@php.net Related To: Bug #78253 ------------------------------------------------------------------------ [2021-09-14 15:09:39] cmb@php.net The following pull request has been associated: Patch Name: In FFI, assume that identifier is a typedef if followed by '*' in parameter list On GitHub: https://github.com/php/php-src/pull/5733 Patch: https://github.com/php/php-src/pull/5733.patch ------------------------------------------------------------------------ [2020-06-17 21:03:43] alexdowad@php.net Just hacked up a little patch which improves the error messages in this (and similar) cases. I'm sure there are other cases which it doesn't cover, but anyways, I'll submit it and see what the maintainers say. ------------------------------------------------------------------------ [2020-05-09 12:16:55] cmb@php.net This is closely related to bug #78253, if not a duplicate. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=79576 -- Edit this bug report at https://bugs.php.net/bug.php?id=79576&edit=1

« previous php.bugs (#236623) next »