Skip to content

Avoid [0] access of 0-length objects #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 16, 2025
Merged

Conversation

MichaelChirico
Copy link
Collaborator

@MichaelChirico MichaelChirico commented Apr 16, 2025

An example of such an access is here:

bit/src/bit.c

Line 247 in c733080

word = b[j];

Which occurs under as.bit(logical()).

Same runtime environment as r-lib/vctrs#1968, though this time it's not memcpy() at root.

@MichaelChirico MichaelChirico merged commit 6ad9669 into main Apr 16, 2025
10 checks passed
@MichaelChirico MichaelChirico deleted the MichaelChirico-patch-1 branch April 16, 2025 17:02
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.

1 participant