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

fix truncate output #301

Merged
merged 1 commit into from
Mar 19, 2023
Merged

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Mar 19, 2023

We were incorrectly using a fixed-length buffer to hold the output. This allocates a sufficiently large buffer.

Fix: #300

We were incorrectly using a fixed-length buffer to hold the output.
This allocates a sufficiently large buffer.
@geyslan geyslan added the bug Something isn't working label Mar 19, 2023
@geyslan geyslan self-assigned this Mar 19, 2023
libbpfgo.h Show resolved Hide resolved
Copy link
Collaborator

@yanivagman yanivagman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@geyslan geyslan merged commit e424b7d into aquasecurity:main Mar 19, 2023
@geyslan geyslan deleted the 300-dyn-out-buffer branch April 1, 2023 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Large libbpf messages are truncated
2 participants