[PUSHED:3-5] fix for fdo#47503, crash opening a xls file with chart

Petr Mladek pmladek at suse.cz
Tue Mar 20 03:12:06 PDT 2012


Markus Mohrhard píše v Út 20. 03. 2012 v 05:07 +0100:
> Hey,
> 
> [1] fixes the crash opening the file in fdo#47503. The code in
> ScDocument::HasData needs to check that the sheet index is valid
> before it uses the sheet index to access the table.
> 
> This patch is simple and safe and I think we easily integrate it into 3-5.

Yup, it makes sense and solves the crash. I have pushed it into the 3-5
branch, see
http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-3-5&id=f24545a72cf43d0852c4f8edae0b3a9919120cdd


Best Regards,
Petr



More information about the LibreOffice mailing list