-
Notifications
You must be signed in to change notification settings - Fork 94
Segmentation fault in coverting zip_date_time #707
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
Comments
Hey, that's an interesting find. This only applies to We don't have any The specific commit that added the Thanks for reporting tho! Please update to the newest version so you don't run into this crash anymore. |
Thanks for the notification about the correct version! Now I can use "ouch" more safely and efficiently. I imagine other developers or users are also using or will use this version (0.3.1). I know RUSTSEC informs Rust users about bugs in crates to ensure safe usage. Is it okay to report this crash to RUSTSEC? Can I notify other users about this issue as well? |
Huh, this sounds a lot like an LLM. I don't think it is necessary to report it to RUSTSEC because Ouch is not a library and this version is old, but if you think this is a vector for ACE that will actually be used by attackers, I'd say you can do it. This is a case where RUSTSEC will probably just grab attention of attackers instead of the people who are (possibly) vulnerable, cause in this case, there is no way our users will be notified about it. Ouch is not a dependency listed in I don't expect people to be using this tool in such outdated version. |
I believe a RustSec advisory can still be valuable for Linux distributions that track versions through the package manager, so they don't have to rely on For example, I see that Nix currently carries ouch v0.3.1. And Nix builds their entire archive with So I am inclined to merge the RustSec advisory PR: rustsec/advisory-db#2084 |
Sorry for the late response. @Shnatsel that's a great point, you changed my mind, thanks for elucidating. |
Uh oh!
There was an error while loading. Please reload this page.
Version
0.3.1
Description
There is an segmentation fault bug in the function 'days_in_year_month'. It seems the crash is cause by the unsafe function 'transmute' in 'fn convert_zip_date_time'
Current Behavior
ASAN detect segmentation fault in read the value at address 0x7ffffffedd1 in my machine.
Expected Behavior
Memory-safety code with no segmentation fault
Additional Information
I'll attach a bug report about this crash
ouch crash report.docx
The text was updated successfully, but these errors were encountered: