Skip to content

Incorrectly parsing max-download-size #53

Description

@gwangyi

It assumes the response is in hex, but in AOSP fastboot, it uses ParseUint() to parse it. It handles octal, decimal, and hexadecimal by prefix. If the bootloader returns the size in decimal, android-fastboot misinterprets it as a much bigger value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions