https://bugs.kde.org/show_bug.cgi?id=473399

michael <reeves...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |1.10.6
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/sdk/
                   |                            |kdiff3/-/commit/74792ce8aa7
                   |                            |95deb7397ca224f63543996b5de
                   |                            |15

--- Comment #1 from michael <reeves...@gmail.com> ---
Git commit 74792ce8aa795deb7397ca224f63543996b5de15 by Michael Reeves.
Committed on 25/08/2023 at 03:30.
Pushed by mreeves into branch 'master'.

Correct miss-handling of empty m_diff3WrapLineVector

DiffTextWindow::convertLineCoordsToD3LCoords can be called when
m_diff3WrapLineVector is empty.
This has always been then case but for some reason hasn't happened previously.
Nothing in the way this function is used suggests it was ever guaranteed to be
working with a non-empty
 m_diff3WrapLineVector
 In fact its called in KDiff3App::recalcWordWrap before the new word warp is
computed.
 Therefor we can not assume  m_diff3WrapLineVector is non-empty as it is
cleared by default.
 FIXED-IN:1.10.6

M  +2    -2    src/difftextwindow.cpp

https://invent.kde.org/sdk/kdiff3/-/commit/74792ce8aa795deb7397ca224f63543996b5de15

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to