<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 - meet issue in open some excel files with hiding everything but the working area in a worksheet"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=120210">120210</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>meet issue in open some excel files with hiding everything but the working area in a worksheet
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>Linux (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>Calc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>nightwend@163.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
nCol should be checked in sc/source/core/data/document.cxx ScDocument::GetNote

 ScPostIt* ScDocument::GetNote(SCCOL nCol, SCROW nRow, SCTAB nTab)
 {
-    if (ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()))
+    if (ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && nCol <
static_cast<SCCOL>(maTabs[nTab]->aCol.size()))
         return maTabs[nTab]->aCol[nCol].GetCellNote(nRow);
     else
         return nullptr;

Way to hide everything but the working area in an Excel worksheet:
<a href="https://www.techrepublic.com/blog/microsoft-office/hide-everything-but-the-working-area-in-an-excel-worksheet/">https://www.techrepublic.com/blog/microsoft-office/hide-everything-but-the-working-area-in-an-excel-worksheet/</a>


Steps to Reproduce:
1. open excel files with hiding everything but the working area in a
libreoffice oline 

Actual Results:
failed to open

Expected Results:
open correct


Reproducible: Always


User Profile Reset: No



Additional Info:</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>