Skip to content

Commit 0100dbd

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
2 parents db48f49 + 5f1311a commit 0100dbd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ PHP NEWS
1212
- Opcache:
1313
. Fix inverted bailout value in zend_runtime_jit() (Max Kellermann).
1414

15+
- PHPDBG:
16+
. Fix undefined behaviour in phpdbg_load_module_or_extension(). (nielsdos)
17+
1518
05 Jan 2023, PHP 8.2.1
1619

1720
- Core:

sapi/phpdbg/phpdbg_prompt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ PHPDBG_API const char *phpdbg_load_module_or_extension(char **path, const char *
13211321
module_entry->handle = handle;
13221322

13231323
if ((module_entry = zend_register_module_ex(module_entry)) == NULL) {
1324-
phpdbg_error("Unable to register module %s", module_entry->name);
1324+
phpdbg_error("Unable to register module %s", *name);
13251325

13261326
goto quit;
13271327
}

0 commit comments

Comments
 (0)