<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src, branch ethomson/odb_alloc_error</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>hash: set error messages on failure</title>
<updated>2018-02-09T10:58:22+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-02-01T14:32:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=9985edb579b75c40e33af1c42415c90fc669b73f'/>
<id>9985edb579b75c40e33af1c42415c90fc669b73f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>odb: error when we can't create object header</title>
<updated>2018-02-09T10:58:22+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-02-01T14:22:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=619f61a8f110de71422d62e14e22c84865c3091c'/>
<id>619f61a8f110de71422d62e14e22c84865c3091c</id>
<content type='text'>
Return an error to the caller when we can't create an object header for
some reason (printf failure) instead of simply asserting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return an error to the caller when we can't create an object header for
some reason (printf failure) instead of simply asserting.
</pre>
</div>
</content>
</entry>
<entry>
<title>odb: assert on logic errors when writing objects</title>
<updated>2018-02-09T10:16:46+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-02-01T13:54:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7ec7aa4a7396c80bfe557590bfae83b7a51458d3'/>
<id>7ec7aa4a7396c80bfe557590bfae83b7a51458d3</id>
<content type='text'>
There's no recovery possible if we're so confused or corrupted that
we're trying to overwrite our memory.  Simply assert.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no recovery possible if we're so confused or corrupted that
we're trying to overwrite our memory.  Simply assert.
</pre>
</div>
</content>
</entry>
<entry>
<title>git_odb__hashfd: propagate error on failures</title>
<updated>2018-02-09T10:16:46+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-02-01T14:35:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=138e4c2bd07690e8956c4733b90b024c65a2ef88'/>
<id>138e4c2bd07690e8956c4733b90b024c65a2ef88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>git_odb__hashobj: provide errors messages on failures</title>
<updated>2018-02-09T10:16:46+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-02-01T13:11:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=35ed256bb7c971e56f3f544c3529a53e39f39b28'/>
<id>35ed256bb7c971e56f3f544c3529a53e39f39b28</id>
<content type='text'>
Provide error messages on hash failures: assert when given invalid
input instead of failing with a user error; provide error messages
on program errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide error messages on hash failures: assert when given invalid
input instead of failing with a user error; provide error messages
on program errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>odb: check for alloc errors on hardcoded objects</title>
<updated>2018-02-09T10:16:46+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-01-31T17:34:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=59d99adcdeef4b08c5aec7fb3b000831e4fe21c5'/>
<id>59d99adcdeef4b08c5aec7fb3b000831e4fe21c5</id>
<content type='text'>
It's unlikely that we'll fail to allocate a single byte, but let's check
for allocation failures for good measure.  Untangle `-1` being a marker
of not having found the hardcoded odb object; use that to reflect actual
errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's unlikely that we'll fail to allocate a single byte, but let's check
for allocation failures for good measure.  Untangle `-1` being a marker
of not having found the hardcoded odb object; use that to reflect actual
errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>odb: error when we can't alloc an object</title>
<updated>2018-02-09T10:16:46+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-01-31T17:30:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ef9028642ab3805b139fbfed0244e48d96af3728'/>
<id>ef9028642ab3805b139fbfed0244e48d96af3728</id>
<content type='text'>
At the moment, we're swallowing the allocation failure.  We need to
return the error to the caller.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At the moment, we're swallowing the allocation failure.  We need to
return the error to the caller.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4450 from libgit2/ethomson/odb_loose_readstream</title>
<updated>2018-02-08T22:51:46+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-02-08T22:51:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=0fd0bfe435989b4947babfcd61b0bf573ff41e28'/>
<id>0fd0bfe435989b4947babfcd61b0bf573ff41e28</id>
<content type='text'>
Streaming read support for the loose ODB backend</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Streaming read support for the loose ODB backend</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4491 from libgit2/ethomson/recursive</title>
<updated>2018-02-08T22:50:58+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-02-08T22:50:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d749822c58400be8212215fa0013cc8b76c7a1d3'/>
<id>d749822c58400be8212215fa0013cc8b76c7a1d3</id>
<content type='text'>
Recursive merge: reverse the order of merge bases</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Recursive merge: reverse the order of merge bases</pre>
</div>
</content>
</entry>
<entry>
<title>buf_text: remove `offset` parameter of BOM detection function</title>
<updated>2018-02-08T17:15:33+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2018-02-08T17:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ba4faf6e492fae42fd948be1013dc6d328d5f65a'/>
<id>ba4faf6e492fae42fd948be1013dc6d328d5f65a</id>
<content type='text'>
The function to detect a BOM takes an offset where it shall look for a
BOM. No caller uses that, and searching for the BOM in the middle of a
buffer seems to be very unlikely, as a BOM should only ever exist at
file start.

Remove the parameter, as it has already caused confusion due to its
weirdness.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function to detect a BOM takes an offset where it shall look for a
BOM. No caller uses that, and searching for the BOM in the middle of a
buffer seems to be very unlikely, as a BOM should only ever exist at
file start.

Remove the parameter, as it has already caused confusion due to its
weirdness.
</pre>
</div>
</content>
</entry>
</feed>
