]> granicus.if.org Git - php/commit
Fix #77621: Already defined constants are not properly reported
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 14 Feb 2019 23:35:21 +0000 (00:35 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 14 Feb 2019 23:35:21 +0000 (00:35 +0100)
commitde738496c2c323b580d9aff0f121876e4101a910
tree502974709c1ff5ad519b6238ba5fa566bd7b1f79
parent0ffa84d7401d61a251029c0813e38a69f84a9486
Fix #77621: Already defined constants are not properly reported

We must not check uninitialized values (i.e. `c.value`), and we have to
use proper types for printf-style formats (i.e. `char *` instead of
`zend_string *`).
NEWS
ext/com_dotnet/com_typeinfo.c
ext/com_dotnet/tests/bug77621.phpt [new file with mode: 0644]