spring-projects / spring-projects/spring-boot

long may be truncated to an int when loading Zip64-format jars

Open
#50,364 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: team-only type: bug
Dominant language
Java
Stars
81.5k
Forks
42.7k
Avg merge
2d 4h
Merged PRs (30d)
65

Description

With thanks to @unknownhad for bringing this to our attention, there are a few places where we accidentally truncate a long to an int when handling Zip64-format jars.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Search the repository for Zip64 jar loading and conversions from long to int, then trace each affected path. Done means Zip64 values are preserved without truncation and regression coverage demonstrates correct handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.