<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib, branch talloc-2.4.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>talloc: version 2.4.0</title>
<updated>2023-01-18T16:26:36+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2023-01-18T10:52:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=5224ed98eeba43f22b5f5f87de5947fbb1c1c7c1'/>
<id>5224ed98eeba43f22b5f5f87de5947fbb1c1c7c1</id>
<content type='text'>
* Add talloc_asprintf_addbuf()
* Support python 3.12

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Jule Anger &lt;janger@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add talloc_asprintf_addbuf()
* Support python 3.12

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Jule Anger &lt;janger@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/tsocket: fix a typo in the tsocket guide doc</title>
<updated>2023-01-17T18:23:18+00:00</updated>
<author>
<name>Björn Baumbach</name>
<email>bb@sernet.de</email>
</author>
<published>2023-01-17T11:28:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8fbadada8c00ff7df311bd7868011f01e797a4e8'/>
<id>8fbadada8c00ff7df311bd7868011f01e797a4e8</id>
<content type='text'>
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Ralph Boehme &lt;slow@samba.org&gt;

Autobuild-User(master): Björn Baumbach &lt;bb@sernet.de&gt;
Autobuild-Date(master): Tue Jan 17 18:23:18 UTC 2023 on sn-devel-184
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Ralph Boehme &lt;slow@samba.org&gt;

Autobuild-User(master): Björn Baumbach &lt;bb@sernet.de&gt;
Autobuild-Date(master): Tue Jan 17 18:23:18 UTC 2023 on sn-devel-184
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/compression: Fix length check</title>
<updated>2023-01-10T20:22:32+00:00</updated>
<author>
<name>Joseph Sutton</name>
<email>josephsutton@catalyst.net.nz</email>
</author>
<published>2023-01-09T02:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=ae6e76c082d476c260f156ab1eb2501320b8a65e'/>
<id>ae6e76c082d476c260f156ab1eb2501320b8a65e</id>
<content type='text'>
Put the division on the correct side of the inequality.

Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Put the division on the correct side of the inequality.

Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/tfork: Don't overwrite 'ret' in cleanup phase</title>
<updated>2023-01-10T20:22:32+00:00</updated>
<author>
<name>Joseph Sutton</name>
<email>josephsutton@catalyst.net.nz</email>
</author>
<published>2023-01-10T00:06:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=cbe6fb38ec13adbe06667f16241d61d4e2a80545'/>
<id>cbe6fb38ec13adbe06667f16241d61d4e2a80545</id>
<content type='text'>
The cleanup phase of tfork_create() saves errno prior to calling
functions that might modify it, with the intention of restoring it
afterwards. However, the value of 'ret' is accidentally overwritten. It
will always be equal to 0, and hence errno will not be restored.

Fix this by introducing a new variable, ret2, for calling functions in
the cleanup phase.

Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The cleanup phase of tfork_create() saves errno prior to calling
functions that might modify it, with the intention of restoring it
afterwards. However, the value of 'ret' is accidentally overwritten. It
will always be equal to 0, and hence errno will not be restored.

Fix this by introducing a new variable, ret2, for calling functions in
the cleanup phase.

Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/talloc: Zero-initialise chunk pointers</title>
<updated>2023-01-10T20:22:32+00:00</updated>
<author>
<name>Joseph Sutton</name>
<email>josephsutton@catalyst.net.nz</email>
</author>
<published>2023-01-10T00:06:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=01bd234f6af37641017a00da0dec729928ad3060'/>
<id>01bd234f6af37641017a00da0dec729928ad3060</id>
<content type='text'>
Ensuring pointers are always initialised avoids compilation errors with
FORTIFY_SOURCE=2.

Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensuring pointers are always initialised avoids compilation errors with
FORTIFY_SOURCE=2.

Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Remove idtree from samba_util.h</title>
<updated>2023-01-10T00:28:37+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2023-01-05T09:04:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b73ecb28a7ac5996e1a8c455d15f41f59d9d8765'/>
<id>b73ecb28a7ac5996e1a8c455d15f41f59d9d8765</id>
<content type='text'>
No need to recompile the world when only a few files need this.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No need to recompile the world when only a few files need this.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Add "starting_id" to idr_get_new_random()</title>
<updated>2023-01-10T00:28:37+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2023-01-04T10:43:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=43f041de6567bcb40a8e4564fce66ee08af6cc0b'/>
<id>43f041de6567bcb40a8e4564fce66ee08af6cc0b</id>
<content type='text'>
To be used in smbXsrv_open.c, for this we need a lower bound.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To be used in smbXsrv_open.c, for this we need a lower bound.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libreplace: require TLS support if pthread support is available</title>
<updated>2023-01-05T11:33:37+00:00</updated>
<author>
<name>Ralph Boehme</name>
<email>slow@samba.org</email>
</author>
<published>2022-11-15T10:30:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=29a99e5e123465145f0faf66bddd94ecc26d15ff'/>
<id>29a99e5e123465145f0faf66bddd94ecc26d15ff</id>
<content type='text'>
Signed-off-by: Ralph Boehme &lt;slow@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Ralph Boehme &lt;slow@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libreplace: update comment on __thread support</title>
<updated>2023-01-05T11:33:37+00:00</updated>
<author>
<name>Ralph Boehme</name>
<email>slow@samba.org</email>
</author>
<published>2022-10-27T05:51:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=73e7d3731d87b3c3ed907e718fcba5ed2e293e51'/>
<id>73e7d3731d87b3c3ed907e718fcba5ed2e293e51</id>
<content type='text'>
Signed-off-by: Ralph Boehme &lt;slow@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Ralph Boehme &lt;slow@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/replace - add extra check to bsd_attr_list</title>
<updated>2023-01-02T14:27:23+00:00</updated>
<author>
<name>Andrew Walker</name>
<email>awalker@ixsystems.com</email>
</author>
<published>2022-12-27T15:59:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=01cdc5e00be78a51f0766634cc7fe50de2088203'/>
<id>01cdc5e00be78a51f0766634cc7fe50de2088203</id>
<content type='text'>
The FreeBSD extattr API may return success and truncated
namelist. We need to check for this in bsd_attr_list to
ensure that we don't accidentally read off the end of the
buffer. In the case of a truncated value, the pascal
strings for attr names will reflect the lengths as if
the value were not truncated. For example:
`58DosStrea`

In case of short read we now set error to ERANGE and
fail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15271

Signed-off-by: Andrew Walker &lt;awalker@ixsystems.com&gt;
Reviewed-by: Ralph Boehme &lt;slow@samba.org&gt;

Autobuild-User(master): Ralph Böhme &lt;slow@samba.org&gt;
Autobuild-Date(master): Mon Jan  2 14:27:23 UTC 2023 on sn-devel-184
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The FreeBSD extattr API may return success and truncated
namelist. We need to check for this in bsd_attr_list to
ensure that we don't accidentally read off the end of the
buffer. In the case of a truncated value, the pascal
strings for attr names will reflect the lengths as if
the value were not truncated. For example:
`58DosStrea`

In case of short read we now set error to ERANGE and
fail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15271

Signed-off-by: Andrew Walker &lt;awalker@ixsystems.com&gt;
Reviewed-by: Ralph Boehme &lt;slow@samba.org&gt;

Autobuild-User(master): Ralph Böhme &lt;slow@samba.org&gt;
Autobuild-Date(master): Mon Jan  2 14:27:23 UTC 2023 on sn-devel-184
</pre>
</div>
</content>
</entry>
</feed>
