<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/talloc/talloc.c, branch v3-5-test</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: Fix write behind memory block</title>
<updated>2009-12-15T17:42:52+00:00</updated>
<author>
<name>Kamen Mazdrashki</name>
<email>kamen.mazdrashki@postpath.com</email>
</author>
<published>2009-12-05T19:44:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=dd38f159860bc3d7a454992ce56ea3500e81aed4'/>
<id>dd38f159860bc3d7a454992ce56ea3500e81aed4</id>
<content type='text'>
If ALWASY_REALLOC is defined and we are to 'shrink' memory block,
memcpy() will write outside memory just allocated.

Signed-off-by: Andrew Tridgell &lt;tridge@samba.org&gt;
(cherry picked from commit 8efabcc8a5dcd83deed8ef8e17826a1d347e6d83)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If ALWASY_REALLOC is defined and we are to 'shrink' memory block,
memcpy() will write outside memory just allocated.

Signed-off-by: Andrew Tridgell &lt;tridge@samba.org&gt;
(cherry picked from commit 8efabcc8a5dcd83deed8ef8e17826a1d347e6d83)
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: fixed talloc_disable_null_tracking()</title>
<updated>2009-09-20T20:14:40+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-09-20T20:14:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=3c5d7639624f6a82e75328e30dfd89e8ae728c55'/>
<id>3c5d7639624f6a82e75328e30dfd89e8ae728c55</id>
<content type='text'>
When we disable null tracking, we need to move any existing objects
that are under the null_context to be parented by the true NULL
context.

We also need a new talloc_enable_null_tracking_no_autofree() function,
as the talloc testsuite cannot cope with the moving of the autofree
context under the null_context as it wants to check exact counts of
objects under the null_context, and smbtorture has a large number of
objects in the autofree_context from .init functions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we disable null tracking, we need to move any existing objects
that are under the null_context to be parented by the true NULL
context.

We also need a new talloc_enable_null_tracking_no_autofree() function,
as the talloc testsuite cannot cope with the moving of the autofree
context under the null_context as it wants to check exact counts of
objects under the null_context, and smbtorture has a large number of
objects in the autofree_context from .init functions
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: don't crash if f is NULL in talloc_report_*</title>
<updated>2009-09-18T04:52:28+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-09-17T23:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=78338d431c6e4ae8e3ff94b0ba9caaae2a5626a9'/>
<id>78338d431c6e4ae8e3ff94b0ba9caaae2a5626a9</id>
<content type='text'>
It's annoying when you use 
  p talloc_report_full(ctx, fopen("/tmp/xx","w"))
in gdb, and if you don't have write permission on the file then
you get a segv.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's annoying when you use 
  p talloc_report_full(ctx, fopen("/tmp/xx","w"))
in gdb, and if you don't have write permission on the file then
you get a segv.
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: when we enable NULL tracking, reparent the autofree context</title>
<updated>2009-09-16T01:45:41+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-09-15T16:43:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=00fb6705ffc937617e11c6da33b39bad7dda2ac3'/>
<id>00fb6705ffc937617e11c6da33b39bad7dda2ac3</id>
<content type='text'>
If NULL tracking is enabled after the autofree context is initialised
then autofree ends up separate from the null_context. This means that
talloc_report_full() doesn't report the autofree context. Fix this by
reparenting the autofree context when we create the null_context.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If NULL tracking is enabled after the autofree context is initialised
then autofree ends up separate from the null_context. This means that
talloc_report_full() doesn't report the autofree context. Fix this by
reparenting the autofree context when we create the null_context.
</pre>
</div>
</content>
</entry>
<entry>
<title>report the location of the original talloc_free on double free</title>
<updated>2009-09-04T04:40:51+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-09-04T03:56:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=27b19eb9f61dec1c60d9c6abcf1fb2e12541f62a'/>
<id>27b19eb9f61dec1c60d9c6abcf1fb2e12541f62a</id>
<content type='text'>
When we get a double free abort from talloc it is often hard to work
out where the first free came from. This patch takes advantage of the
fact that _talloc_free() now takes a location the free was called from
to allow the double free abort code to print the location of the first
free that conflicts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we get a double free abort from talloc it is often hard to work
out where the first free came from. This patch takes advantage of the
fact that _talloc_free() now takes a location the free was called from
to allow the double free abort code to print the location of the first
free that conflicts.
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION</title>
<updated>2009-08-24T06:29:58+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-08-20T11:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6c9ace27c591e48fdffdf5add6b4e11b2f669922'/>
<id>6c9ace27c591e48fdffdf5add6b4e11b2f669922</id>
<content type='text'>
We also use the major and minor versions in the TALLOC_MAGIC,
so that we can detect if two conflicting versions of talloc
are loaded in one process. In this case we use talloc_log() to
output a very useful debug message before we call
talloc_abort().

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We also use the major and minor versions in the TALLOC_MAGIC,
so that we can detect if two conflicting versions of talloc
are loaded in one process. In this case we use talloc_log() to
output a very useful debug message before we call
talloc_abort().

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: remove ABI compat functions</title>
<updated>2009-08-24T06:29:58+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-08-20T11:36:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=5760edeeb6b6d5a8aaebae2422ba3e7c3df700cc'/>
<id>5760edeeb6b6d5a8aaebae2422ba3e7c3df700cc</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: remove unused build dependecies to samba</title>
<updated>2009-08-24T06:29:58+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-08-03T09:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8a90c8bc98a2501da41af132512d1c3875463102'/>
<id>8a90c8bc98a2501da41af132512d1c3875463102</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: add talloc_set_log_fn() and talloc_set_log_stderr()</title>
<updated>2009-08-24T06:29:58+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-07-29T19:54:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e40f3144f2a3f8e7aebf009a4cddb9f463292c1c'/>
<id>e40f3144f2a3f8e7aebf009a4cddb9f463292c1c</id>
<content type='text'>
So that the application can setup a log function to get ERROR
and WARNING messages.

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So that the application can setup a log function to get ERROR
and WARNING messages.

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc: let talloc_steal() only generate a warning if it's used with references</title>
<updated>2009-08-24T06:29:57+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-07-29T19:41:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=ac8aeec824b49c69a97e107f170337fcaa75120f'/>
<id>ac8aeec824b49c69a97e107f170337fcaa75120f</id>
<content type='text'>
We have to many callers, which rely on that talloc_steal() never fails.

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have to many callers, which rely on that talloc_steal() never fails.

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