mwindow.c
5.88 KB
-
mwindow: make sure the whole range is contained inside the same window · 31e80290
Looking through the open windows to check whether we can re-use an open window should take into account whether both `offset` and `offset + extra` are contained within the same window. Failure to do so can lead to invalid memory accesses. This closes #614. While we're in the area remove an outdated assert.
Carlos Martín Nieto committed