Comments (4)
Okay, this issue plus the issue this uncovered have been fixed as of this commit: 02527d9. This will be officially released in 0.5.5. Thanks again for reporting!
from exe-rs.
Curse of me starting this crate when I was new to Rust, literally like confusing const char *
and std::string
. Thanks for reporting this, I'll get this fixed in the next version!
from exe-rs.
This actually made me realize there's a bug here, so this might take a little longer to come out-- there's a possibility that a section name can not be a valid UTF8 string, and so the str
returned by as_str()
would cause a panic when the string is used because it's not valid UTF8. This happens because I'm intentionally transmuting a reference that points into the PE file.
Anyway, I've started work on this, I'll update you when I get this bug fixed!
from exe-rs.
This is live in 0.5.6 (not 0.5.5, no idea what release that was). Thanks again!
from exe-rs.
Related Issues (11)
- exe::Error doesnt implement std::error::Error HOT 7
- Release the code for the tests
- dll support for ressource directory? HOT 2
- Code from example directory panics for Rufus executable on Windows HOT 2
- BufferSearch search performance HOT 3
- How to get pictures and save them HOT 7
- .Net bin parsing issue HOT 6
- Intended way to use CChar strings eg Section Name HOT 1
- chrono dep pulls in time version with CVE-2020-26235 HOT 3
- Use cargo fmt
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 exe-rs.