<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch maint/v0.24</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>Merge pull request #4075 from libgit2/cmn/sec-update-24</title>
<updated>2017-01-09T20:26:28+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>carlosmn@github.com</email>
</author>
<published>2017-01-09T20:26:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=83283d5c0a4833a8aa564821d31ecf7df461c468'/>
<id>83283d5c0a4833a8aa564821d31ecf7df461c468</id>
<content type='text'>
Security updates for v0.24</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Security updates for v0.24</pre>
</div>
</content>
</entry>
<entry>
<title>https: don't test that RC4 is invalid</title>
<updated>2017-01-09T18:29:17+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2017-01-09T17:53:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=45a2ee3f401d0e2f23d84b987099e0dc34a68117'/>
<id>45a2ee3f401d0e2f23d84b987099e0dc34a68117</id>
<content type='text'>
None of our crypto backends actually reject RC4 as a cipher so don't
test for it and instead keep it as something we'd like to do.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
None of our crypto backends actually reject RC4 as a cipher so don't
test for it and instead keep it as something we'd like to do.
</pre>
</div>
</content>
</entry>
<entry>
<title>http: correct the expected error for RC4</title>
<updated>2017-01-09T17:50:17+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2017-01-09T17:50:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d3cb8f64cde3b84c3d1543f122f989aeb2f6a69e'/>
<id>d3cb8f64cde3b84c3d1543f122f989aeb2f6a69e</id>
<content type='text'>
We must make sure that we're getting a certificate error from the
library so we know that we're testing the right thing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We must make sure that we're getting a certificate error from the
library so we know that we're testing the right thing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to 0.24.6</title>
<updated>2017-01-06T17:18:40+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2017-01-06T17:18:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=2b9298bfe2ab193041445f77eb359224bb9ae5cd'/>
<id>2b9298bfe2ab193041445f77eb359224bb9ae5cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '24_smartpktparse' into maint/v0.24</title>
<updated>2017-01-06T17:18:23+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2017-01-06T17:18:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=f2aa2af15fafcb4d09a1f83856699c8afec6104b'/>
<id>f2aa2af15fafcb4d09a1f83856699c8afec6104b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '24_certcheckcb' into maint/v0.24</title>
<updated>2017-01-06T17:18:17+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2017-01-06T17:18:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=05667e1cbbc6e7bdc1cb48c2682a04ffbbf273f4'/>
<id>05667e1cbbc6e7bdc1cb48c2682a04ffbbf273f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>smart_pkt: treat empty packet lines as error</title>
<updated>2017-01-06T17:18:06+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2016-11-15T10:44:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=84d30d569ada986f3eef527cbdb932643c2dd037'/>
<id>84d30d569ada986f3eef527cbdb932643c2dd037</id>
<content type='text'>
The Git protocol does not specify what should happen in the case
of an empty packet line (that is a packet line "0004"). We
currently indicate success, but do not return a packet in the
case where we hit an empty line. The smart protocol was not
prepared to handle such packets in all cases, though, resulting
in a `NULL` pointer dereference.

Fix the issue by returning an error instead. As such kind of
packets is not even specified by upstream, this is the right
thing to do.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Git protocol does not specify what should happen in the case
of an empty packet line (that is a packet line "0004"). We
currently indicate success, but do not return a packet in the
case where we hit an empty line. The smart protocol was not
prepared to handle such packets in all cases, though, resulting
in a `NULL` pointer dereference.

Fix the issue by returning an error instead. As such kind of
packets is not even specified by upstream, this is the right
thing to do.
</pre>
</div>
</content>
</entry>
<entry>
<title>smart_pkt: verify packet length exceeds PKT_LEN_SIZE</title>
<updated>2017-01-06T17:18:01+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2016-11-15T10:36:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=4ac39c76c0153d1ee6889a0984c39e97731684b2'/>
<id>4ac39c76c0153d1ee6889a0984c39e97731684b2</id>
<content type='text'>
Each packet line in the Git protocol is prefixed by a four-byte
length of how much data will follow, which we parse in
`git_pkt_parse_line`. The transmitted length can either be equal
to zero in case of a flush packet or has to be at least of length
four, as it also includes the encoded length itself. Not
checking this may result in a buffer overflow as we directly pass
the length to functions which accept a `size_t` length as
parameter.

Fix the issue by verifying that non-flush packets have at least a
length of `PKT_LEN_SIZE`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Each packet line in the Git protocol is prefixed by a four-byte
length of how much data will follow, which we parse in
`git_pkt_parse_line`. The transmitted length can either be equal
to zero in case of a flush packet or has to be at least of length
four, as it also includes the encoded length itself. Not
checking this may result in a buffer overflow as we directly pass
the length to functions which accept a `size_t` length as
parameter.

Fix the issue by verifying that non-flush packets have at least a
length of `PKT_LEN_SIZE`.
</pre>
</div>
</content>
</entry>
<entry>
<title>http: perform 'badssl' check also via certificate callback</title>
<updated>2017-01-06T17:17:24+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2017-01-06T10:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ca531956619f021913ac01669b3818a705b7b676'/>
<id>ca531956619f021913ac01669b3818a705b7b676</id>
<content type='text'>
Make sure that the callbacks do also get a 'valid' value of zero when
the certificate we're looking at is in valid and assert that within the
test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure that the callbacks do also get a 'valid' value of zero when
the certificate we're looking at is in valid and assert that within the
test.
</pre>
</div>
</content>
</entry>
<entry>
<title>http: check certificate validity before clobbering the error variable</title>
<updated>2017-01-06T17:17:15+00:00</updated>
<author>
<name>Etienne Samson</name>
<email>samson.etienne@gmail.com</email>
</author>
<published>2016-12-21T20:24:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=b5c6a1b407b7f8b952bded2789593b68b1876211'/>
<id>b5c6a1b407b7f8b952bded2789593b68b1876211</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
