Name |
Last commit
|
Last update |
---|---|---|
.. | ||
apply_helpers.c | ||
apply_helpers.h | ||
both.c | ||
callbacks.c | ||
fromdiff.c | ||
fromfile.c | ||
index.c | ||
partial.c | ||
tree.c | ||
workdir.c |
Previously, we would fail to correctly truncate the source buffer if the source has more than one line and ends with a non-newline character. In the following call, we thus truncate the source string in the middle of the second line. Without the bug fixed, we would successfully apply the patch to the source and return success. With the overflow being fixed, we should return an error now.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
apply_helpers.c | Loading commit data... | |
apply_helpers.h | Loading commit data... | |
both.c | Loading commit data... | |
callbacks.c | Loading commit data... | |
fromdiff.c | Loading commit data... | |
fromfile.c | Loading commit data... | |
index.c | Loading commit data... | |
partial.c | Loading commit data... | |
tree.c | Loading commit data... | |
workdir.c | Loading commit data... |