Problematic file giving infinite loop / OOM in make_sector_list #8

Closed
opened 2020-03-12 04:47:43 +00:00 by rossj · 0 comments
rossj commented 2020-03-12 04:47:43 +00:00 (Migrated from github.com)

Hi there,

I have a .doc file that is not exiting the inner loop of make_sector_list, leading to an OOM crash. There is some issue with the file itself, as Word gives an error opening it; however, DFVIEW.EXE opens the file and will display all the contained streams without complaining.

image

Even if the file is bad and can't be read, hopefully there is some condition that can throw an exception rather than OOM.

Hi there, I have a .doc file that is not exiting the inner loop of `make_sector_list`, leading to an OOM crash. There is some issue with the file itself, as Word gives an error opening it; however, DFVIEW.EXE opens the file and will display all the contained streams without complaining. ![image](https://user-images.githubusercontent.com/735679/76487547-1c3d3000-63f9-11ea-9eb2-c9108970e01d.png) Even if the file is bad and can't be read, hopefully there is some condition that can throw an exception rather than OOM.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/js-cfb#8
No description provided.