<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch peff/binary-search-do-while</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>sha1_position: convert do-while to while</title>
<updated>2017-08-09T20:34:02+00:00</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-08-09T20:34:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=09930192b903e15d5c55afc2fd83d6f37ba6edd9'/>
<id>09930192b903e15d5c55afc2fd83d6f37ba6edd9</id>
<content type='text'>
If we enter the sha1_position() function with "lo == hi",
we have no elements. But the do-while loop means that we'll
enter the loop body once anyway, picking "mi" at that same
value and comparing nonsense to our desired key. This is
unlikely to match in practice, but we still shouldn't be
looking at the memory in the first place.

This bug is inherited from git.git; it was fixed there in
e01580cfe01526ec2c4eb4899f776a82ade7e0e1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we enter the sha1_position() function with "lo == hi",
we have no elements. But the do-while loop means that we'll
enter the loop body once anyway, picking "mi" at that same
value and comparing nonsense to our desired key. This is
unlikely to match in practice, but we still shouldn't be
looking at the memory in the first place.

This bug is inherited from git.git; it was fixed there in
e01580cfe01526ec2c4eb4899f776a82ade7e0e1.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4304 from pks-t/pks/patch-buffers</title>
<updated>2017-07-31T00:20:21+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-31T00:20:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=a9d6b9d529daa920b558ee3f34151422d10bc95e'/>
<id>a9d6b9d529daa920b558ee3f34151422d10bc95e</id>
<content type='text'>
patch_generate: represent buffers as void pointers</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
patch_generate: represent buffers as void pointers</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4323 from libgit2/ethomson/remove_sys_remote_h</title>
<updated>2017-07-31T00:17:24+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-31T00:17:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=dca8c44f4f882098a9653a42d37194d7e3782119'/>
<id>dca8c44f4f882098a9653a42d37194d7e3782119</id>
<content type='text'>
Remove unused 'sys/remote.h' header</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove unused 'sys/remote.h' header</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '4233'</title>
<updated>2017-07-30T23:59:27+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-30T23:58:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=fb585d01205e1a0b580a39f9cbdc829ff63e02c9'/>
<id>fb585d01205e1a0b580a39f9cbdc829ff63e02c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>changelog: update to reflect `detached` api name</title>
<updated>2017-07-30T23:58:35+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-30T23:58:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=868ce84f9ed21f8881b3c66b2363b29b219a99ab'/>
<id>868ce84f9ed21f8881b3c66b2363b29b219a99ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused 'sys/remote.h' header</title>
<updated>2017-07-30T23:38:28+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-30T23:38:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=37841317377aee4ce08ce3787d88dd24f3d7b982'/>
<id>37841317377aee4ce08ce3787d88dd24f3d7b982</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4320 from pks-t/pks/rebase-submodule-asserts</title>
<updated>2017-07-28T10:19:24+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-28T10:19:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d55431ebfaf3958ca2030ac73a3caff9c8507b4c'/>
<id>d55431ebfaf3958ca2030ac73a3caff9c8507b4c</id>
<content type='text'>
tests: rebase::submodule: verify initialization method calls</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests: rebase::submodule: verify initialization method calls</pre>
</div>
</content>
</entry>
<entry>
<title>tests: rebase::submodule: verify initialization method calls</title>
<updated>2017-07-28T07:01:41+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2017-07-28T07:01:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=c0558c62989215d724ebc3b267ae1022618c49e8'/>
<id>c0558c62989215d724ebc3b267ae1022618c49e8</id>
<content type='text'>
Some return codes for functions which may fail are not being checked in
`test_rebase_submodule__initialize`. This may lead us to not notice
errors when initializing the environment and would possibly result in
either memory corruption or segfaults as soon as any of the
initialization steps fails. Fix this by wrapping these function calls
into `cl_git_pass`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some return codes for functions which may fail are not being checked in
`test_rebase_submodule__initialize`. This may lead us to not notice
errors when initializing the environment and would possibly result in
either memory corruption or segfaults as soon as any of the
initialization steps fails. Fix this by wrapping these function calls
into `cl_git_pass`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4275 from tiennou/fix-rebase-submodule-test</title>
<updated>2017-07-27T22:05:53+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-27T22:05:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=4f4bc5732baf4545ab42bbd80d2a971e2f1e316c'/>
<id>4f4bc5732baf4545ab42bbd80d2a971e2f1e316c</id>
<content type='text'>
tests: rewrite rebase-submodule .gitmodule file</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests: rewrite rebase-submodule .gitmodule file</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4314 from pks-t/pks/timsort</title>
<updated>2017-07-26T22:24:28+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-26T22:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ed00ac06049b05992b677ef970071fe4129b2781'/>
<id>ed00ac06049b05992b677ef970071fe4129b2781</id>
<content type='text'>
tsort: remove idempotent conditional assignment</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tsort: remove idempotent conditional assignment</pre>
</div>
</content>
</entry>
</feed>
