<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - FILEOPEN: Hang on file with negative table:number-columns-repeated"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=112018">112018</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILEOPEN: Hang on file with negative table:number-columns-repeated
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.3.5.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>filters and storage
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>infostud91@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Opening leads to a hang with very fast memory usage growth. 
16gb of memory is consumed within less than half a minute

Should be an invalid file as table:number-columns-repeated must be positive.

Tested it on version 5.3.5.2 on Ubuntu 16.04.2 LTS.

On Windows 10 it leads to fatal error: bad allocation instead of hang

Steps to Reproduce:
1.Open the file

Actual Results:  
hangs with very high memory usage

Expected Results:
getting parsing error


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/60.0.3112.101 Safari/537.36</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>