<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/test, branch 3.1.30</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>Updates from review</title>
<updated>2022-12-29T02:48:29+00:00</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@proton.me</email>
</author>
<published>2022-12-29T02:48:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=f4f2658d5d308b3fb9162e50cd4c7b346e7a0a47'/>
<id>f4f2658d5d308b3fb9162e50cd4c7b346e7a0a47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Submodule tests</title>
<updated>2022-12-28T01:07:18+00:00</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@proton.me</email>
</author>
<published>2022-12-28T01:07:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=9dc43926207b2205d77511c6ffd40944199f0c2d'/>
<id>9dc43926207b2205d77511c6ffd40944199f0c2d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More tests</title>
<updated>2022-12-28T00:15:40+00:00</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@proton.me</email>
</author>
<published>2022-12-28T00:15:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c8ae33b9314a7d3716827b5cb705a3cd0a2e4a46'/>
<id>c8ae33b9314a7d3716827b5cb705a3cd0a2e4a46</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update/add tests for Repo.clone*</title>
<updated>2022-12-27T23:22:58+00:00</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@proton.me</email>
</author>
<published>2022-12-27T23:22:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=b92f01a3a38fc8e171d08575c69de9733811faa6'/>
<id>b92f01a3a38fc8e171d08575c69de9733811faa6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Updates from review</title>
<updated>2022-12-27T21:56:43+00:00</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@proton.me</email>
</author>
<published>2022-12-27T21:56:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=fd2c6da5f82009398d241dc07603fbcd490ced29'/>
<id>fd2c6da5f82009398d241dc07603fbcd490ced29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Block unsafe options and protocols by default</title>
<updated>2022-12-24T01:40:06+00:00</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@proton.me</email>
</author>
<published>2022-12-24T01:19:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=e6108c7997f5c8f7361b982959518e982b973230'/>
<id>e6108c7997f5c8f7361b982959518e982b973230</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Forbid unsafe protocol URLs in Repo.clone{,_from}()</title>
<updated>2022-12-23T21:16:21+00:00</updated>
<author>
<name>Steve Kowalik</name>
<email>steven@wedontsleep.org</email>
</author>
<published>2022-12-20T06:05:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=2625ed9fc074091c531c27ffcba7902771130261'/>
<id>2625ed9fc074091c531c27ffcba7902771130261</id>
<content type='text'>
Since the URL is passed directly to git clone, and the remote-ext helper
will happily execute shell commands, so by default disallow URLs that
contain a "::" unless a new unsafe_protocols kwarg is passed.
(CVE-2022-24439)

Fixes #1515
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the URL is passed directly to git clone, and the remote-ext helper
will happily execute shell commands, so by default disallow URLs that
contain a "::" unless a new unsafe_protocols kwarg is passed.
(CVE-2022-24439)

Fixes #1515
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test</title>
<updated>2022-12-22T03:15:55+00:00</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@proton.me</email>
</author>
<published>2022-12-22T03:15:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=7918fccff8ba341a8747381162f587749f08d23a'/>
<id>7918fccff8ba341a8747381162f587749f08d23a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore empty info in diff line</title>
<updated>2022-09-27T01:04:50+00:00</updated>
<author>
<name>Dave Wapstra</name>
<email>dwapstra@cisco.com</email>
</author>
<published>2022-09-27T00:49:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=41003c548f9df2dc389f14be58b5a41d35d0e73d'/>
<id>41003c548f9df2dc389f14be58b5a41d35d0e73d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug where colons in paths raise a `ValueError` on `diff()` calls.</title>
<updated>2022-09-13T00:46:00+00:00</updated>
<author>
<name>Malcolm Langfield</name>
<email>35980963+langfield@users.noreply.github.com</email>
</author>
<published>2022-09-13T00:46:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=db392aeeea6e34c3aaa3a9961941a43053255ff0'/>
<id>db392aeeea6e34c3aaa3a9961941a43053255ff0</id>
<content type='text'>
This commit introduces a potential fix for #1490 and #1483, in which an
`invalid literal for int() with base 10: 'n'` exception was raised
within a diff operation. Within `_handle_diff_line()`, we split the
output of `git diff-tree` on colons (`:` characters), under the
assumption that there are no colons within the paths of the files being
diffed. On POSIX systems this is not a valid assumption. The fix is to
split on `\x00:`, since a null character always precedes the colons we
actually need to split on.

A test already existed for this case (`test_diff_file_with_colon()`),
but it was marked as skipped.

* Split on `\x00:` instead of `:` in `_handle_diff_line()`.
* Unskip `test_diff_file_with_colon()`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit introduces a potential fix for #1490 and #1483, in which an
`invalid literal for int() with base 10: 'n'` exception was raised
within a diff operation. Within `_handle_diff_line()`, we split the
output of `git diff-tree` on colons (`:` characters), under the
assumption that there are no colons within the paths of the files being
diffed. On POSIX systems this is not a valid assumption. The fix is to
split on `\x00:`, since a null character always precedes the colons we
actually need to split on.

A test already existed for this case (`test_diff_file_with_colon()`),
but it was marked as skipped.

* Split on `\x00:` instead of `:` in `_handle_diff_line()`.
* Unskip `test_diff_file_with_colon()`.
</pre>
</div>
</content>
</entry>
</feed>
