Skip to content

fmt: incorrect overflow detection #10695

Closed
@dvyukov

Description

@dvyukov

The following program prints " 0", while it should produce an error.

package main import"fmt"funcmain() { fmt.Printf("%q\n", fmt.Sprintf("%184467440737095516170v", 0)) }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      close