<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git, branch v2.33.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.33.6</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.33.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2022-12-13T12:13:48Z</updated>
<entry>
<title>Git 2.33.6</title>
<updated>2022-12-13T12:13:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-12-13T12:13:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7fe9bf55b84d2610a7ac09893b25ef188f145a21'/>
<id>urn:sha1:7fe9bf55b84d2610a7ac09893b25ef188f145a21</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Sync with Git 2.32.5</title>
<updated>2022-12-13T12:13:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-12-13T12:13:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5f22dcc02df6e69145489c8bec6872e9452688b8'/>
<id>urn:sha1:5f22dcc02df6e69145489c8bec6872e9452688b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Git 2.32.5</title>
<updated>2022-12-13T12:10:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-12-13T12:10:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d96ea538e8dd0fcf381089a3b09c0a9af3617351'/>
<id>urn:sha1:d96ea538e8dd0fcf381089a3b09c0a9af3617351</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ps/attr-limits-with-fsck' into maint-2.32</title>
<updated>2022-12-13T12:09:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-12-13T12:09:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=32e357b6df4c686151d371da7c3ff56444227d9e'/>
<id>urn:sha1:32e357b6df4c686151d371da7c3ff56444227d9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sync with Git 2.31.6</title>
<updated>2022-12-13T12:09:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-12-13T12:09:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a755eddf5bf256613bc584f32cd44401a25897c'/>
<id>urn:sha1:8a755eddf5bf256613bc584f32cd44401a25897c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Git 2.31.6</title>
<updated>2022-12-13T12:04:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-12-13T12:04:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=82689d5e5d3f41da2ab1fbf9fbe7aacfd6da74c1'/>
<id>urn:sha1:82689d5e5d3f41da2ab1fbf9fbe7aacfd6da74c1</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Sync with Git 2.30.7</title>
<updated>2022-12-13T12:02:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-12-13T12:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=16128765d70f1375bcde3f27f51f85492b176a59'/>
<id>urn:sha1:16128765d70f1375bcde3f27f51f85492b176a59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Git 2.30.7</title>
<updated>2022-12-13T11:56:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-12-13T11:56:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b7b37a33711e64bf580ef3141878b12a36e28833'/>
<id>urn:sha1:b7b37a33711e64bf580ef3141878b12a36e28833</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>fsck: implement checks for gitattributes</title>
<updated>2022-12-09T08:07:04Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2022-12-01T14:46:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=27ab4784d5c9e24345b9f5b443609cbe527c51f9'/>
<id>urn:sha1:27ab4784d5c9e24345b9f5b443609cbe527c51f9</id>
<content type='text'>
Recently, a vulnerability was reported that can lead to an out-of-bounds
write when reading an unreasonably large gitattributes file. The root
cause of this error are multiple integer overflows in different parts of
the code when there are either too many lines, when paths are too long,
when attribute names are too long, or when there are too many attributes
declared for a pattern.

As all of these are related to size, it seems reasonable to restrict the
size of the gitattributes file via git-fsck(1). This allows us to both
stop distributing known-vulnerable objects via common hosting platforms
that have fsck enabled, and users to protect themselves by enabling the
`fetch.fsckObjects` config.

There are basically two checks:

    1. We verify that size of the gitattributes file is smaller than
       100MB.

    2. We verify that the maximum line length does not exceed 2048
       bytes.

With the preceding commits, both of these conditions would cause us to
either ignore the complete gitattributes file or blob in the first case,
or the specific line in the second case. Now with these consistency
checks added, we also grow the ability to stop distributing such files
in the first place when `receive.fsckObjects` is enabled.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>fsck: move checks for gitattributes</title>
<updated>2022-12-09T08:05:00Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2022-12-01T14:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f8587c31c96172aac547f83977c98fa8f0e2aa67'/>
<id>urn:sha1:f8587c31c96172aac547f83977c98fa8f0e2aa67</id>
<content type='text'>
Move the checks for gitattributes so that they can be extended more
readily.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
