History log of /PHP-8.2/sapi/phpdbg/phpdbg_prompt.c (Results 1 – 25 of 202)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 9aeb6761 04-Aug-2024 David Carlier

Fix GH-15210: phpdbg_print_changed_zvals working on a real copy instead.

Close GH-15229


# a6d17bff 17-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12962: Double free of init_file in phpdbg_prompt.c

See GH-12962 for analysis.

Closes GH-12963.

# 4f1103ef 15-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12675: MEMORY_LEAK in phpdbg_prompt.c

Have to use file_put_contents() instead of --FILE-- because we have to
actually load it using the exec command, *and* have to make multiple

Fix GH-12675: MEMORY_LEAK in phpdbg_prompt.c

Have to use file_put_contents() instead of --FILE-- because we have to
actually load it using the exec command, *and* have to make multiple
files, and note that we can only load files relative from the current
directory, so we can't rely on files being in the sapi/phpdbg/tests
folder.

Closes GH-12680.

show more ...

# 0100dbda 23-Dec-2022 George Peter Banyard

Merge branch 'PHP-8.1' into PHP-8.2


# 5f1311a9 22-Dec-2022 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix undefined behaviour in phpdbg_load_module_or_extension

If zend_register_module_ex were to return NULL, then module_entry will
be set to NULL, and the if's body will load module_entry

Fix undefined behaviour in phpdbg_load_module_or_extension

If zend_register_module_ex were to return NULL, then module_entry will
be set to NULL, and the if's body will load module_entry->name. Since
module_entry is NULL, loading the name would cause a NULL pointer
dereference. However, since a NULL pointer dereference is undefined
behaviour, the compiler is free to remove the check.
Fix it by using *name instead of module_entry->name.

Closes GH-10157

Signed-off-by: George Peter Banyard <girgias@php.net>

show more ...

# 280fd680 01-Jun-2022 Levi Morrison

Make vm_interrupt and timed_out atomic (#8327)

This is done by adding a new zend_atomic_bool type. The type
definition is only available for compiler alignment and size info; it
shou

Make vm_interrupt and timed_out atomic (#8327)

This is done by adding a new zend_atomic_bool type. The type
definition is only available for compiler alignment and size info; it
should be treated as opaque and only the zend_atomic_bool_* family of
functions should be used.

Note that directly using atomic_bool is complicated. All C++ compilers
stdlibs that I checked typedef atomic_bool to std::atomic<bool>, which
can't be used in an extern "C" section, and there's at least one usage
of this in core, and probably more outside of it.

So, instead use platform specific functions, preferring compiler
intrinsics.

show more ...

# 2ecd46f4 22-May-2022 George Peter Banyard

Initialise zend_stat_t to fix MSAN build

# 5bda4cd2 04-Sep-2021 codinghuang

Support specifying start position in compile_string

Add additional zend_compile_position argument, which can be either
AT_SHEBANG, AT_OPEN_TAG or AFTER_OPEN_TAG. The previous behavior

Support specifying start position in compile_string

Add additional zend_compile_position argument, which can be either
AT_SHEBANG, AT_OPEN_TAG or AFTER_OPEN_TAG. The previous behavior
corresponds to AFTER_OPEN_TAG.

Closes GH-7462.

show more ...

# 60fbd6df 13-Jul-2021 Joe Watkins

replace phpdbg custom opcode dumper with O+ dump (#7227)

# aff36587 29-Jun-2021 Patrick Allaert

Fixed some spaces used instead of tabs

# 6318040d 17-Jun-2021 Joe Watkins

remove specialized printing from phpdbg (#7156)

# 2c33578c 13-Jun-2021 Joe Watkins

Fix #81135 unknown help topic in phpdbg fails assertion

# 766e6b08 13-Jun-2021 Joe Watkins

ditch remote

# cded43fd 13-Jun-2021 Joe Watkins

drop phpdbg web helper extension and wait command (#7144)

# c40231af 12-May-2021 George Peter Banyard

Mark various functions with void arguments.

This fixes a bunch of [-Wstrict-prototypes] warning,
because in C func() and func(void) have different semantics.

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

# c732ab40 16-Mar-2021 Dmitry Stogov

Change Zend Stream API to use zend_string* instead of char*.

This allows to eliminate re-calculation of string lenght and hash value.
See the detailed list of changes in UPGRADING.INTERN

Change Zend Stream API to use zend_string* instead of char*.

This allows to eliminate re-calculation of string lenght and hash value.
See the detailed list of changes in UPGRADING.INTERNALS.

show more ...

# 4a8b9342 24-Feb-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix potential file collision in dom tests
Fix bug #80757 (Exit code is 0 when could not open file)
Update NEWS


# aaea81de 24-Feb-2021 Felipe Pena

Merge branch 'PHP-7.4' into PHP-8.0


# 3ec37a74 24-Feb-2021 Felipe Pena

Fix bug #80757 (Exit code is 0 when could not open file)

# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

# 3c6ab4b3 27-Nov-2020 codinghuang <2812240764@qq.com>

Add const modifier for zend_extension members

Closes GH-6462.

# f5dbebd8 07-Sep-2020 Nikita Popov

Accept zend_string instead of zval in zend_compile_string

# 8b77c581 07-Aug-2020 Nikita Popov

Accept zend_object* in zend_update_property

# 978b7de2 07-Aug-2020 Nikita Popov

Accept zend_object* in zend_get_exception_base

123456789