Skip to content

Segmentation fault (address overflow) in ext/bcmath/libbcmath/src/div.c:55 #16394

Closed as not planned
@YuanchengJiang

Description

@YuanchengJiang

Description

The following code:

<?php
bcdiv(1,300,1);

Resulted in this output:

/php-src/ext/bcmath/libbcmath/src/div.c:55:7: runtime error: addition of unsigned offset to 0x7f4af5c02120 overflowed to 0x7f4af5c02118

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