Skip to content

Unexpected null pointer at Zend/zend_string.h:200:24 #14603

Closed
@YuanchengJiang

Description

@YuanchengJiang

Description

The following code:

https://yuanchengjiang.github.io/docs/test.php

(this is a binary file)

Resulted in this output:

PK??eI???a.phpnuW+A??hioPK??eI????.phar/stub.phpnuW+A??Zend/zend_string.h:200:24: runtime error: null pointer passed as argument 2, which is declared to never be null
/usr/include/string.h:44:28: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior Zend/zend_string.h:200:24 in

PHP Version

nightly

Operating System

ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions