3.6.0 regression: non-deterministic filter selection ...

Kohei Yoshida kohei.yoshida at gmail.com
Wed Aug 15 09:26:05 PDT 2012


On 08/15/2012 12:12 PM, Kohei Yoshida wrote:
> Ah.  Now I know.  Ultimately the failure is due to StgHeader::Check()
> returning false on Large-Word.doc.
>
> http://opengrok.libreoffice.org/xref/core/sot/source/sdstor/stgelem.cxx#186
>
> Changing this method to always return true leads to Writer loading the
> file correctly.

And the check that fails is this:

( nMasterChain == -2 || ( nMasterChain >=0 && nMaster > 109 ) )

where nMasterChain == 24269 and nMaster == 2.  Since nMaster > 109 is 
false, it returns false, and the whole thing starts to crumble...

-- 
Kohei Yoshida, LibreOffice hacker, Calc


More information about the LibreOffice mailing list