Skip to content

Address overflowed in ext/mbstring/mbstring.c:4613 #16229

Closed
@YuanchengJiang

Description

@YuanchengJiang

Description

The following code:

<?php
$a = False;
mb_send_mail($a,$a,$a,$a,$a);

Resulted in this output:

/php-src/ext/mbstring/mbstring.c:4613:7: runtime error: addition of unsigned offset to 0x603000000268 overflowed to 0x603000000267
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /php-src/ext/mbstring/mbstring.c:4613:7

Is it a deprecated feature? Not sure worthwhile or not to fix it.

PHP Version

PHP 8.4.0-dev

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