https://bz.apache.org/ooo/show_bug.cgi?id=126990

--- Comment #9 from John <[email protected]> ---
As

a) this bug is confirmed, 
b) there are hundreds of reports of it in the forum,
c) it causes complete data loss and nothing can be recovered from the file (the
# are displayed because the file is full of NULL characters)

I think it should be classified as CRITICAL.

See
https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=1532&start=660#p479545
where I suggest the NULLs are written in Line 52 of DEFLATOR.  If the PC issues
a SHUTDOWN after line 52 and AOO does not prevent the shutdown, then the file
would presumably be full of NULLs.

44    Deflater::~Deflater(void)
45    {
46            end(); 
47    }
48    void Deflater::init (sal_Int32 nLevelArg, sal_Int32 nStrategyArg,
sal_Bool bNowrap)
49    {
50            pStream = new z_stream;
51            /* Memset it to 0...sets zalloc/zfree/opaque to NULL */
52            memset (pStream, 0, sizeof(*pStream));
53    
54            switch (deflateInit2(pStream, nLevelArg, Z_DEFLATED, bNowrap?
-MAX_WBITS : MAX_WBITS,

See Why is my file full of #####? at
https://forum.openoffice.org/en/forum/viewtopic.php?f=71&t=85038#p493247 for a
discussion.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to