]> git.lyx.org Git - features.git/commit
Fix crash when closing master with children and grandchildren
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 28 Sep 2017 07:06:33 +0000 (09:06 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 28 Sep 2017 07:09:36 +0000 (09:09 +0200)
commita18ad654e8bd97407eeeecfb04d6c266bbb91b94
treed9c55b4b5832993d20e49c303e5eb8971eebd70b
parent9df59aac63bbb56d9d5f5ddcccfaa3ebace2f03d
Fix crash when closing master with children and grandchildren

In some cases, it is possible that the BufferPositionMap has
dangling pointers. We thus check whether the Buffer is loaded
before accessing it.

Fixes: #10766
(cherry picked from commit 4f50cbcfe405a840459be8682fd4c7521b235798)
src/Buffer.cpp