<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/talloc/talloc.c, branch talloc-2.0.7</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: Remove an unused variable</title>
<updated>2011-09-07T14:47:26+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2011-09-07T12:36:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4ee613ba64cd49667ce934331a5fd8fae67c6795'/>
<id>4ee613ba64cd49667ce934331a5fd8fae67c6795</id>
<content type='text'>
Autobuild-User: Volker Lendecke &lt;vlendec@samba.org&gt;
Autobuild-Date: Wed Sep  7 16:47:26 CEST 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autobuild-User: Volker Lendecke &lt;vlendec@samba.org&gt;
Autobuild-Date: Wed Sep  7 16:47:26 CEST 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: ensure the sibling linked list remains valid during a free</title>
<updated>2011-08-08T23:53:16+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2011-08-08T08:24:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=cf986f200804ce873b43c1ecf2d5e1bd08eb8a25'/>
<id>cf986f200804ce873b43c1ecf2d5e1bd08eb8a25</id>
<content type='text'>
This ensures that the sibling list of a pointer doesn't become invalid
during a free operation. It is an alternative fix to the fix in
6f51a1f45bf4de062cce7a562477e8140630a53d, and avoids the problem of
trying to calculate the parent pointer early

This should fix the subtle spoolss talloc bug that Simo found

Autobuild-User: Andrew Tridgell &lt;tridge@samba.org&gt;
Autobuild-Date: Tue Aug  9 01:53:17 CEST 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures that the sibling list of a pointer doesn't become invalid
during a free operation. It is an alternative fix to the fix in
6f51a1f45bf4de062cce7a562477e8140630a53d, and avoids the problem of
trying to calculate the parent pointer early

This should fix the subtle spoolss talloc bug that Simo found

Autobuild-User: Andrew Tridgell &lt;tridge@samba.org&gt;
Autobuild-Date: Tue Aug  9 01:53:17 CEST 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: preserve context name on talloc_free_children()</title>
<updated>2011-07-29T08:17:44+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>idra@samba.org</email>
</author>
<published>2011-07-27T16:02:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=52182a528117c4dd9624f64b34a873c0903ad70a'/>
<id>52182a528117c4dd9624f64b34a873c0903ad70a</id>
<content type='text'>
Otherwise tc-&gt;name will end up pointing to garbage when it is not
set to a const but rather to a string allocate as child of the context itself.

Signed-off-by: Andrew Tridgell &lt;tridge@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise tc-&gt;name will end up pointing to garbage when it is not
set to a const but rather to a string allocate as child of the context itself.

Signed-off-by: Andrew Tridgell &lt;tridge@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: splitout _talloc_free_children_internal()</title>
<updated>2011-05-17T08:49:13+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2011-05-17T06:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=df2cb2f672569e5d113fe2e77fdc1ee16c8b646d'/>
<id>df2cb2f672569e5d113fe2e77fdc1ee16c8b646d</id>
<content type='text'>
metze

Autobuild-User: Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date: Tue May 17 10:49:13 CEST 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze

Autobuild-User: Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date: Tue May 17 10:49:13 CEST 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: fixed a use after free error in talloc_free_children()</title>
<updated>2011-05-17T07:46:04+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2011-04-08T10:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=38633c9f0b7f86673f08903999583ad5b62c3548'/>
<id>38633c9f0b7f86673f08903999583ad5b62c3548</id>
<content type='text'>
This is similar to commit 6f51a1f45bf4de062cce7a562477e8140630a53d.

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is similar to commit 6f51a1f45bf4de062cce7a562477e8140630a53d.

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: use _talloc_free_internal() in talloc_free_children()</title>
<updated>2011-05-17T07:46:04+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2011-04-08T10:27:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f3b855d2ff9576715afe50d75678829c6bc0842d'/>
<id>f3b855d2ff9576715afe50d75678829c6bc0842d</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: setup the new 'tc' before TC_UNDEFINE_GROW_CHUNK()  _talloc_realloc()</title>
<updated>2011-05-17T06:22:23+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2011-05-17T06:19:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c281f2fc1a359d0d3b91b94438f11bb7c88170b5'/>
<id>c281f2fc1a359d0d3b91b94438f11bb7c88170b5</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: make really sure only optimize realloc if there's only one pool chunk</title>
<updated>2011-05-17T06:22:21+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2011-05-16T18:15:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7102105c8954627dc30a851327cf2642ac0783d5'/>
<id>7102105c8954627dc30a851327cf2642ac0783d5</id>
<content type='text'>
*talloc_pool_objectcount(pool_tc) == 2 doesn't mean the one of the objects
is the pool itself! So we better check for == 1 and calculate the chunk count.

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
*talloc_pool_objectcount(pool_tc) == 2 doesn't mean the one of the objects
is the pool itself! So we better check for == 1 and calculate the chunk count.

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: make use of _talloc_free_poolmem() in _talloc_realloc()</title>
<updated>2011-05-17T06:22:20+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2011-05-16T18:23:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=14b662ee4f278764b9dfd620851e908d29f29fc4'/>
<id>14b662ee4f278764b9dfd620851e908d29f29fc4</id>
<content type='text'>
This should follow the same logic...

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should follow the same logic...

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: split the handling of FLAG_POOL/FLAG_POOLMEM in _talloc_free_internal</title>
<updated>2011-05-17T06:22:18+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2011-05-16T17:06:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=2d514be1ed3b8245157a0a51186ec7f9db828202'/>
<id>2d514be1ed3b8245157a0a51186ec7f9db828202</id>
<content type='text'>
The optimization of the object_count == 1 case should only happen
for when we're not destroying the pool itself. And it should only
happen if the pool itself is still valid.

If the pool isn't valid (it has TALLOC_FLAG_FREE),
object_count == 1 does not mean that the pool is the last object,
which can happen if you use talloc_steal/move() on memory
from the pool and then free the pool itself.

Thanks to Volker for noticing this!

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The optimization of the object_count == 1 case should only happen
for when we're not destroying the pool itself. And it should only
happen if the pool itself is still valid.

If the pool isn't valid (it has TALLOC_FLAG_FREE),
object_count == 1 does not mean that the pool is the last object,
which can happen if you use talloc_steal/move() on memory
from the pool and then free the pool itself.

Thanks to Volker for noticing this!

metze
</pre>
</div>
</content>
</entry>
</feed>
