octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55427] save -v7 exits with "error compressing


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55427] save -v7 exits with "error compressing data element"
Date: Thu, 1 Jul 2021 07:50:48 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 Edg/91.0.864.59

Update of bug #55427 (project octave):

                 Release:                     dev => 6.2.90                 

    _______________________________________________________

Follow-up Comment #11:

The uLongf type that is used for the input and output buffer size is a
unsigned long integer. That is 64 bit on Linux, but it is 32 bit on Win64.
IIUC, the calculation that we use for estimating the destination buffer size
overflows if the source buffer is 2^32/101 bytes or larger (that is just over
40 MiB if I'm not mistaken).

I'm currently cross compiling with a changeset. If using `compressBound`
works, I'll probably push to the stable branch.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55427>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]