Skip to content

Fix Linux image discovery exceeding the 512 MiB scan limit - #10

Merged
JamesCicada merged 1 commit into
JamesCicada:mainfrom
Asanilo:fix/linux-image-scan-limit
Nov 10, 2026
Merged

JamesCicada merged 1 commit into
JamesCicada:mainfrom
Asanilo:fix/linux-image-scan-limit

Conversation

@Asanilo

@Asanilo Asanilo commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Image discovery can find a valid guest image and still fail when subsequent executable mappings exhaust the 512 MiB budget.

Raise the budget to 1024 MiB while retaining the deadline, cancellation, fingerprint validation and ambiguity checks. Distinguish size-limit errors from deadline errors and log scan progress.

Add regression checks covering:

  • A valid image in a 600 MiB mapping.
  • A second valid image beyond the former 512 MiB limit.
  • Budget exhaustion inside the final mapping.

The reproduced connection failure is resolved.

Fixes #8

@JamesCicada
JamesCicada merged commit 3818fa3 into JamesCicada:main Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux image discovery fails above the 512 MiB scan limit

2 participants