When attempting to open the oleObject.bin file in question, rust-cfb proceeds to hang, shoot up in RAM utilization, and eventually fail (when it hit max RAM of 16gb + pagefile on my system).
use std::io::{Cursor, Read};
use cfb::CompoundFile;
use std::fs::File;
fn main() {
let mut file = File::open("oleObject.bin").unwrap();
let mut buffer = Vec::new();
file.read_to_end(&mut buffer).unwrap();
CompoundFile::open(Cursor::new(buffer));
}
When attempting to open the
oleObject.bin
file in question,rust-cfb
proceeds to hang, shoot up in RAM utilization, and eventually fail (when it hit max RAM of 16gb + pagefile on my system).Repro (oleObject.bin)
Repro (no file)