Skip to content

UAF in readline #16812

Closed
Closed
@YuanchengJiang

Description

@YuanchengJiang

Description

The following code:

<?php
readline_write_history($name);
readline_info('line_buffer', 'abcdefghijkl');

Resulted in this output:

ERROR: AddressSanitizer: heap-use-after-free

PHP Version

nightly

Operating System

ubuntu 22.04

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions