Issue 82475 - OO Hangup when open malformed HTML file
Summary: OO Hangup when open malformed HTML file
Status: ACCEPTED
Alias: None
Product: Calc
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-10 14:40 UTC by fred_m
Modified: 2013-08-07 15:12 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The xls file is inside this zip file (115.80 KB, application/x-compressed)
2007-10-10 14:42 UTC, fred_m
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description fred_m 2007-10-10 14:40:21 UTC
I received by email a zipped xls file. When I tried to unzip this file, I got a
crc error on zip file, but xls file was generated (malformed)
When I tried to open this file, my OO calc use a lot of resource of my computer
and hang up and let my computer to slow. I need to kill calc process to continue
to use my computer.
Comment 1 fred_m 2007-10-10 14:42:23 UTC
Created attachment 48811 [details]
The xls file is inside this zip file
Comment 2 brian1830 2007-10-18 19:49:04 UTC
@fred_m
the zip file seems to be corrupted as i cannot open it on debian linux, please
upload again
Comment 3 brian1830 2007-10-18 19:49:56 UTC
i mean please upload the original document in uncorrupted state
Comment 4 fred_m 2007-10-18 20:11:50 UTC
Hi Brian,

This is the problem.
When you tried to unzip the file you got a CRC error, but a XML file was generated.
Try to open it, and you will see the problem.

The usages of hardware resources will be increase a lot.

Comment 5 brian1830 2007-10-18 21:01:13 UTC
@fred: i can confirm the hang with m233.

@spreadsheet-team:
Loading a corrupted file into SO results in hang. Is there a chance for improved
sanity checking?
User email-received a corrupted zip containing a xls. As the zip is still
inflatable the problem arises.

[debian stable, UnZip 5.52 of 28 February 2005, by Debian. Original by Info-ZIP.] 

Archive:  14965.zip
error [14965.zip]:  missing 1 bytes in zipfile
  (attempting to process anyway)
error [14965.zip]:  attempt to seek before beginning of zipfile
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
  (attempting to re-compensate)
  inflating: Lista de Preco 20071010 1005.xls   bad CRC eddc2791  (should be
3d042592)
Comment 6 brian1830 2007-10-18 21:02:09 UTC
Someone with confirm IZ privileges please just push the button. I am still in
learning stage.
Brian
Comment 7 frank 2007-10-19 09:32:49 UTC
Hi, 

this is not a defect of Calc but an enhancement request. Opening of corrupted
files should not loop the Office but trying to open a file which is known as
corrupt isn't a good idea too.

Tried to open the ZIP with WinZip and can't. So this archive is entirely broken
and you can't expect to get a valid file from it.

BTW the contained file isn't a XLS but a HTML file saved by Excel which isn't
the same.

@daniel

As discussed for improving the filters this one is yours.

Frank
Comment 8 daniel.rentz 2007-12-18 11:03:02 UTC
title