Skip to content

error in string to integers conversions #4876

@vicuna

Description

@vicuna

Original bug ID: 4876
Reporter: jean-louis Colaco
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2011-05-29T10:20:11Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.11.0
Fixed in version: 3.12.0+dev
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #4210

Bug description

When converting a string representing (max_int + 1), the function returns a negative value instead of raising an Overflow.
This Bug is present on native integer, Int32 and Int64.

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