vv9k / mobi-rs

A crate to work with MOBI format ebooks
MIT License
38 stars 10 forks source link

0.7.0 introduces buffer overflow not present in 0.6.0 #39

Open philippeitis opened 2 years ago

philippeitis commented 2 years ago

A buffer overflow occurs at this line in 0.7.0, but does not occur for the same files in 0.6.0: https://github.com/vv9k/mobi-rs/blob/c15606e2842759db9797122c5f8196d36388feba/src/headers/mobih.rs#L303

I'll update this issue with additional information later