Skip to content

spring-boot-loader does not consistently handle shorts correctly #50366

Description

@wilkinsona

With thanks to @unknownhad for bringing this to our attention, there are a few places where we allow a short to become an int with sign extension, resulting in a negative value. We need to use Short.toUnsignedInt() consistently.

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

    status: team-onlyAn issue that's best handled directly by the team rather than a community contribution.type: bugA general bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions