[Libreoffice-commits] core.git: fpicker/source
Caolán McNamara
caolanm at redhat.com
Tue Jul 21 07:08:20 PDT 2015
fpicker/source/office/RemoteFilesDialog.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dda78fb69cda3901b1da40de206c491a871b1854
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Jul 21 15:07:13 2015 +0100
coverity#1312086 Out-of-bounds read
Change-Id: I7885f8ba5ec4c6e60d88f6caab0c25cb760529ef
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index fb24a25..2fabadc 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -89,7 +89,7 @@ class FileViewContainer : public vcl::Window
if( !m_pFileView || !m_pTreeView )
return;
- if( !bReverse && m_nCurrentFocus < 4 )
+ if( !bReverse && m_nCurrentFocus < 3 )
{
m_pFocusWidgets[++m_nCurrentFocus]->SetFakeFocus( true );
m_pFocusWidgets[m_nCurrentFocus]->GrabFocus();
More information about the Libreoffice-commits
mailing list