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

PR to fix the unintended BufferOverflowError #12

Merged
merged 11 commits into from
Mar 27, 2024
Merged

PR to fix the unintended BufferOverflowError #12

merged 11 commits into from
Mar 27, 2024

Conversation

clementwanjau
Copy link
Contributor

Changes

This PR addresses the following issues:

  • An unintended buffer overflow issue where instead of reading the remaining bytes in the stream, an error would be returned if the buffer length exceeds the length of the stream.
  • It also removes the no_libc option in the cli which is redundant.

…uffer if the buffer length exceeds the end of file.
# Conflicts:
#	Cargo.toml
#	README.md
#	examples/capa_cli.rs
#	src/extractor/smda.rs
#	src/lib.rs
#	src/security/elf/checked_functions.rs
#	src/security/elf/mod.rs
#	src/security/elf/needed_libc.rs
#	src/security/mod.rs
#	src/security/options/mod.rs
#	src/security/options/status.rs
#	src/security/parser.rs
#	src/security/pe.rs
…uffer if the buffer length exceeds the end of file.
@marirs marirs merged commit f17ea45 into marirs:master Mar 27, 2024
4 checks passed
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.

2 participants