Comments (4)
We did not have the opportunity to examine the crash in depth, but I think the seekg() function should not exceed the file size (Checks eofbit). Could the cause of this crash be a corrupted heap/stack? Also, the program does not crash every time it is run.
from elfio.
Please give a try to commit a428b72.
Also, the program does not crash every time it is run.
I could not reproduce the crash with the provided file. So, please, confirm the fix.
Thank you!
from elfio.
Thank you for your interest and solution. We could not trigger the same crash again with the files we had.
from elfio.
Thank you for confirmation. I am closing the issue for now
from elfio.
Related Issues (20)
- string_section_accessor_template::get_string can walk past end of string table HOT 1
- ELFIO should have a libfuzzer base test HOT 2
- ELFIO maybe misses auxiliary vectors HOT 7
- Alloc-dealloc-mismatch detected when build with ASAN HOT 1
- std::make_unique not support c++11 HOT 1
- Cannot compile ELFIO with "-Wall -Werror -Wextra" HOT 1
- No adhering to ISO C++ HOT 4
- maps dump soinfo fix HOT 2
- Release current main branch to a new release version HOT 6
- load and validate file, no issues, save same unmodified one leads to issues HOT 6
- GPL file in project HOT 1
- Loading elf from buffer HOT 5
- Code doesn't check entry size before casting
- Segments change, when saving a loaded file HOT 3
- elfio doesn't seem to be able to read notes from coredump HOT 8
- Writer: Linking executable with libc HOT 1
- Compilation error if including after <Windows.h> HOT 1
- generic_get_symbol can access past end of symbol section if entry_size in is smaller than sizeof(Elf64_Sym) or sizeof(Elf32_Sym)
- ELFIO::elfio::load hangs when loading malformed ELF file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elfio.