summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-04-04 16:21:52 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-04-04 16:26:08 +0200
commit31e80290a1a08a24780a0cbedd3a400fccd80a8b (patch)
tree3612d992ea393d64f9ea399c6163fceebd5233fc /src/commit.c
parentbbb3723657cb595754099036ee080849b218f285 (diff)
downloadlibgit2-31e80290a1a08a24780a0cbedd3a400fccd80a8b.tar.gz
mwindow: make sure the whole range is contained inside the same window
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.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions