Sicos1977 / IFilterTextReader

A reader that gets text from different file formats through the IFilter interface
Other
55 stars 38 forks source link

SafeInt Overflow #13

Closed AdamE87 closed 8 years ago

AdamE87 commented 8 years ago

SafeInt Overflow on reading any PDF:

Trace: at IFilterTextReader.NativeMethods.IPersistStream.Load(IStream pStm) at IFilterTextReader.FilterLoader.LoadAndInitIFilter(Stream stream, String extension, Boolean disableEmbeddedContent, String fileName, Boolean readIntoMemory) in T:\Software\IFilterTextReader-1.5\IFilterTextReader-1.5\IFilterTextReader\FilterLoader.cs:line 160 at IFilterTextReader.FilterReader..ctor(String fileName, String extension, Boolean disableEmbeddedContent, Boolean includeProperties, Boolean readIntoMemory, FilterReaderTimeout filterReaderTimeout, Int32 timeout) in T:\Software\IFilterTextReader-1.5\IFilterTextReader-1.5\IFilterTextReader\FilterReader.cs:line 195 at IFilterTextViewer.MainForm.SelectButton_Click(Object sender, EventArgs e) in T:\Software\IFilterTextReader-1.5\IFilterTextReader-1.5\IFilterTextViewer\MainForm.cs:line 139 The text associated with this error code could not be found.

Safe Int Overflow 0x80048605

This occurs at IStreamWrapper

Sicos1977 commented 8 years ago

I will look into it next werk.On vacation at the moment

Verzonden vanaf mijn Samsung-apparaat

-------- Oorspronkelijk bericht -------- Van: AdamE87 notifications@github.com Datum: 02-02-2016 11:13 (GMT+01:00) Aan: Sicos1977/IFilterTextReader IFilterTextReader@noreply.github.com Onderwerp: [IFilterTextReader] SafeInt Overflow (#13)

SafeInt Overflow on reading any PDF:

Trace:

at IFilterTextReaderNativeMethodsIPersistStreamLoad(IStream pStm)

at IFilterTextReaderFilterLoaderLoadAndInitIFilter(Stream stream, String extension, Boolean disableEmbeddedContent, String fileName, Boolean readIntoMemory) in T:\Software\IFilterTextReader-15\IFilterTextReader-15\IFilterTextReader\FilterLoadercs:line 160

at IFilterTextReaderFilterReaderctor(String fileName, String extension, Boolean disableEmbeddedContent, Boolean includeProperties, Boolean readIntoMemory, FilterReaderTimeout filterReaderTimeout, Int32 timeout) in T:\Software\IFilterTextReader-15\IFilterTextReader-15\IFilterTextReader\FilterReadercs:line 195

at IFilterTextViewerMainFormSelectButton_Click(Object sender, EventArgs e) in T:\Software\IFilterTextReader-15\IFilterTextReader-15\IFilterTextViewer\MainFormcs:line 139

The text associated with this error code could not be found

Safe Int Overflow 0x80048605

This occurs at IStreamWrapper

— Reply to this email directly or view it on GitHub.

AdamE87 commented 8 years ago

Reading the file into memory resolves this....happy to close

Sicos1977 commented 8 years ago

Can hou still send me the file that is giving the error so that i can find out where it comes from ?

AdamE87 commented 8 years ago

It did it on every file but i'll attach one I had a problem with... Scrum_Guide.pdf

Sicos1977 commented 8 years ago

Strange that you got of in evert file. I look into it next week