Skip to content
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

KafkaBatchSliceCollection dereferencing a pointer that might be null #182

Open
elliVM opened this issue Feb 13, 2025 · 0 comments · May be fixed by #183
Open

KafkaBatchSliceCollection dereferencing a pointer that might be null #182

elliVM opened this issue Feb 13, 2025 · 0 comments · May be fixed by #183
Assignees
Labels
bug Something isn't working review Issues or pull requests waiting for a review

Comments

@elliVM
Copy link
Contributor

elliVM commented Feb 13, 2025

Describe the bug
processRange() method calls generate() with offsets that might be null.

Expected behavior
Check If either offsets are null do not generate batch slices if so, instead return an empty collection.

Software version
3.3.4

Additional context
Coverity: 1594360 Dereference null return value

@elliVM elliVM added the bug Something isn't working label Feb 13, 2025
@Abigael-JT Abigael-JT added the review Issues or pull requests waiting for a review label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working review Issues or pull requests waiting for a review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants