Skip to content

Mask final word in map_open_close#9

Open
SRO-SA wants to merge 1 commit into
masterfrom
fix/issue-6-map-open-close-init
Open

Mask final word in map_open_close#9
SRO-SA wants to merge 1 commit into
masterfrom
fix/issue-6-map-open-close-init

Conversation

@SRO-SA

@SRO-SA SRO-SA commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Fixes #6

Summary:

  • Updates map_open_close to mask invalid tail bytes in the final partial word.
  • Avoids the byte-by-byte fallback path and keeps the existing 32-bit word read path.
  • Relies on the padded open/close bitmap allocation being zero-filled before the kernel runs.

Testing:

  • I could not run CUDA or compute-sanitizer locally because my laptop does not have CUDA access.
  • I reviewed the affected JSON Lines code path manually.
  • Please rerun the initcheck reproducer from the issue to confirm the uninitialized read is resolved.

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.

Uninitialized device-memory read in map_open_close

1 participant