[Libreoffice-commits] core.git: sw/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Apr 8 13:58:59 UTC 2018


 sw/source/ui/frmdlg/frmpage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c442ac8c20cfceb8c87e96c494dcd8372dc6e206
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Apr 8 12:43:13 2018 +0200

    fix global-buffer-overflow found through UI testing on UBSAN jenkins job
    
    Change-Id: Ie4d81561057bb4d67fe050ca7fb82861d5d207a2
    Reviewed-on: https://gerrit.libreoffice.org/52587
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index 2742b3512337..a619dbe42386 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -783,7 +783,7 @@ void SwFramePage::setOptimalFrameWidth()
         { aHFrameMap, SAL_N_ELEMENTS(aHFrameMap) },
         { aHFlyHtmlMap, SAL_N_ELEMENTS(aHFlyHtmlMap) },
         { aVFrameMap, SAL_N_ELEMENTS(aVFrameMap) },
-        { aVFlyHtmlMap, SAL_N_ELEMENTS(aVFrameMap) },
+        { aVFlyHtmlMap, SAL_N_ELEMENTS(aVFlyHtmlMap) },
         { aHParaMap, SAL_N_ELEMENTS(aHParaMap) },
         { aHParaHtmlMap, SAL_N_ELEMENTS(aHParaHtmlMap) },
         { aHParaHtmlAbsMap, SAL_N_ELEMENTS(aHParaHtmlAbsMap) },


More information about the Libreoffice-commits mailing list