]> 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:24:58 +0000 (09:24 +0200)
commit7b41d977adb8cd985610102a1da5eabbd6503bd2
tree694c4b489ccf752e707c53290231e16bee1ac828
parent1d55d8cd25cc94f42d97ae2da5fc7c4f74624d03
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
status.22x