<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/fs/udf, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-07-24T13:02:12Z</updated>
<entry>
<title>udf: Improve input validation.</title>
<updated>2025-07-24T13:02:12Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-07-16T19:33:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4cafd1021a5b6002812f4446794541eab8c08534'/>
<id>urn:sha1:4cafd1021a5b6002812f4446794541eab8c08534</id>
<content type='text'>
The existing code frequently assigns unsigned 64-bit values to variables
that are signed and / or shorter without checking for overflow.  Try to
deal with these cases.

While here, fix two structs that used single-element arrays in place of
flexible array members.

PR:		287896
MFC after:	1 week
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D51339

(cherry picked from commit 55f80afa17e8926f69660f19631194bcf7fa66f4)
</content>
</entry>
<entry>
<title>udf: Fix a typo in a source code comment</title>
<updated>2025-05-08T06:45:28Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2025-05-05T08:47:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=faf7c4ad59df3a6870a9aa8d80767bd750991817'/>
<id>urn:sha1:faf7c4ad59df3a6870a9aa8d80767bd750991817</id>
<content type='text'>
- s/demostrates/demonstrates/

(cherry picked from commit f6674f74fb299821d0f159b9f11cf7dd9b3e70ad)
</content>
</entry>
<entry>
<title>udf: Stop checking for failures from malloc(M_WAITOK)</title>
<updated>2024-09-30T05:05:29Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2024-09-03T10:25:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a4417f586ffc620f69cd6d9914caabd4b8bc0ba6'/>
<id>urn:sha1:a4417f586ffc620f69cd6d9914caabd4b8bc0ba6</id>
<content type='text'>
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D45852

(cherry picked from commit 3feb35dc465a8247d70e50792680c230954ef1c1)
(cherry picked from commit a77e68b0148d5224a64740c2cb7b25b1efc55335)
</content>
</entry>
<entry>
<title>udf: Reject read requests with an invalid length</title>
<updated>2023-09-06T21:56:09Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-08-04T23:40:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=202c1d76218695ec094f289dbb23e96310eae2c1'/>
<id>urn:sha1:202c1d76218695ec094f289dbb23e96310eae2c1</id>
<content type='text'>
- If the size is negative or if rounding it up to a multiple of
  the block size overflows, fail the read request with ERANGE.

- While here, add a sanity check that the ICB length for the root
  directory is at least as long as a minimum-sized file entry.

PR:		257768
Reported by:	Robert Morris &lt;rtm@lcs.mit.edu&gt;
MFC after:	1 week
Sponsored by:	FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D41220

(cherry picked from commit c70e615051b00671d54651d99af5cdec4b091d92)
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-23T17:43:25Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3bc80996974a61a4223eae4c1ccd47b6ee32a48a'/>
<id>urn:sha1:3bc80996974a61a4223eae4c1ccd47b6ee32a48a</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in current:
(cherry picked from commit 685dc743dc3b)
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-23T17:43:20Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f8167e0404dab9ffeaca95853dd237ab7c587f82'/>
<id>urn:sha1:f8167e0404dab9ffeaca95853dd237ab7c587f82</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

Similar commit in current:
(cherry picked from commit 95ee2897e98f)
</content>
</entry>
<entry>
<title>udf: reject invalid block sizes from lvd</title>
<updated>2023-08-10T02:57:29Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-08-04T22:47:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=21a943407e9992a219a5fe572ee27fea9f5d2c69'/>
<id>urn:sha1:21a943407e9992a219a5fe572ee27fea9f5d2c69</id>
<content type='text'>
PR:	272893

(cherry picked from commit 9e6941a2c7a393aefe6a123952c6eacbc23098a6)
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-07-25T15:13:49Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=caa41f641755c935b036e17440a3b49329c904ed'/>
<id>urn:sha1:caa41f641755c935b036e17440a3b49329c904ed</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix

(cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
</content>
</entry>
<entry>
<title>udf: ansify</title>
<updated>2023-04-09T15:40:39Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2023-02-07T23:24:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c53ea2f3481b7159d3a91f67dc24f357fa64c337'/>
<id>urn:sha1:c53ea2f3481b7159d3a91f67dc24f357fa64c337</id>
<content type='text'>
Reported by:	clang 15
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 724240c6fa249e03762cee62a95405105bd69ebe)
</content>
</entry>
<entry>
<title>Stop cleaning MNT_LOCAL on unmount</title>
<updated>2023-01-20T03:22:32Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-01-06T16:38:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9b9f054e739887d18f2f5985d91ba5b954ad4a6a'/>
<id>urn:sha1:9b9f054e739887d18f2f5985d91ba5b954ad4a6a</id>
<content type='text'>
Tested by:	pho

(cherry picked from commit 1d9f3a37eb20305bfdd67788cfac5c51938226a4)
</content>
</entry>
</feed>
