]> 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:06:33 +0000 (09:06 +0200)
commit4f50cbcfe405a840459be8682fd4c7521b235798
tree2af11fcd53c00b9738f6567042123e360aebdc51
parent745b43784ce1b6981fd31f6c5f5fbd489eef51f4
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
src/Buffer.cpp