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 NewModuleFromBuffer #83

Merged

Conversation

derekparker
Copy link
Contributor

NewModuleFromBuffer was calling NewModuleFromFileArgs instead of
NewModuleFromBufferArgs which ended up causing the following error to
start coming through:

libbpf: elf: failed to open : No such file or directory

This patch fixes it by calling the correct function.

NewModuleFromBuffer was calling NewModuleFromFileArgs instead of
NewModuleFromBufferArgs which ended up causing the following error to
start coming through:

libbpf: elf: failed to open : No such file or directory

This patch fixes it by calling the correct function.
@CLAassistant
Copy link

CLAassistant commented Sep 27, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@rafaeldtinoco rafaeldtinoco left a comment

Choose a reason for hiding this comment

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

Thanks for having spotting that. Bad yy + p when I last touched this.

Accepting it.

@rafaeldtinoco rafaeldtinoco merged commit df4987a into aquasecurity:main Sep 28, 2021
@derekparker derekparker deleted the fix-new-module-from-buffer branch September 28, 2021 19:00
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.

3 participants