diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-06-25 15:26:43 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-06-25 15:26:43 -0400 |
commit | 87987fd1e0f00a85c5fa16a96ca52decede629ae (patch) | |
tree | f6c7031ea2e936a5c73dd247d038d43a1b57780b /CHANGELOG.md | |
parent | daacf96d101b9d2100a5028090b5af5249d8893d (diff) | |
parent | 3cf91d98e28f2519e69c9ce77a6d6454adc713d7 (diff) | |
download | libgit2-87987fd1e0f00a85c5fa16a96ca52decede629ae.tar.gz |
Merge pull request #3246 from libgit2/cmn/dont-grow-borrowed
Don't allow growing borrowed buffers
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 86f995545..21774ca20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -127,6 +127,9 @@ support for HTTPS connections insead of OpenSSL. configuration of the server, and tools can use this to show messages about failing to communicate with the server. +* A new error code `GIT_EINVALID` indicates that an argument to a + function is invalid, or an invalid operation was requested. + * `git_diff_index_to_workdir()` and `git_diff_tree_to_index()` will now produce deltas of type `GIT_DELTA_CONFLICTED` to indicate that the index side of the delta is a conflict. @@ -267,6 +270,9 @@ support for HTTPS connections insead of OpenSSL. * `GIT_EMERGECONFLICT` is now `GIT_ECONFLICT`, which more accurately describes the nature of the error. +* It is no longer allowed to call `git_buf_grow()` on buffers + borrowing the memory they point to. + v0.22 ------ |