<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/include/safe_string.h, branch talloc-2.2.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>s3: smbd: Change the function signature of srvstr_push() from returning a length to returning an NTSTATUS with a length param.</title>
<updated>2014-09-15T23:56:54+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2014-08-26T00:11:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=0519088c53b201b7ca1f144f3f2da052c612c0e7'/>
<id>0519088c53b201b7ca1f144f3f2da052c612c0e7</id>
<content type='text'>
srvstr_push_fn() now returns an NTSTATUS reporting any
string conversion failure.

We need to get serious about returning character set conversion errors
inside smbd.

Bug 10775 - smbd crashes when accessing garbage filenames

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

Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: David Disseldorp &lt;ddiss@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
srvstr_push_fn() now returns an NTSTATUS reporting any
string conversion failure.

We need to get serious about returning character set conversion errors
inside smbd.

Bug 10775 - smbd crashes when accessing garbage filenames

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

Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: David Disseldorp &lt;ddiss@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: move the string wrappers from source3/include to common lib/util</title>
<updated>2011-03-25T03:37:06+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2011-03-24T00:40:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8cd4a38d722af31bc94b9868d27bed2f9f7c5cff'/>
<id>8cd4a38d722af31bc94b9868d27bed2f9f7c5cff</id>
<content type='text'>
this will allow the common charcnv library to use the string wrappers

Pair-Programmed-With: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this will allow the common charcnv library to use the string wrappers

Pair-Programmed-With: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3-safe_string: Add checked_strlcpy()</title>
<updated>2011-03-23T02:39:35+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2011-03-22T10:03:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d73db405f71002deaddeea68adb747ef1984945c'/>
<id>d73db405f71002deaddeea68adb747ef1984945c</id>
<content type='text'>
This is strlcpy, just with an extra check of the parameters with
sizeof(), use only where that works.

Andrew Bartlett

Autobuild-User: Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date: Wed Mar 23 03:39:35 CET 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is strlcpy, just with an extra check of the parameters with
sizeof(), use only where that works.

Andrew Bartlett

Autobuild-User: Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date: Wed Mar 23 03:39:35 CET 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s3-safe_str: Futher simplify the macros by removing indirection</title>
<updated>2011-03-23T01:49:39+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2011-03-22T09:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=1d22c3919d08b4d18a1d021a407a98cb1402d7d7'/>
<id>1d22c3919d08b4d18a1d021a407a98cb1402d7d7</id>
<content type='text'>
Now that we don't need to pass in the function name and string,
another level of indirection can be safely removed, and the operation
of these macros made much clearer.

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we don't need to pass in the function name and string,
another level of indirection can be safely removed, and the operation
of these macros made much clearer.

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>s3-lib Remove the clobber_region() code.</title>
<updated>2011-03-23T01:49:39+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2011-03-22T04:30:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=1923b78209aaa2aa926dedd19e6c97fb449c48c8'/>
<id>1923b78209aaa2aa926dedd19e6c97fb449c48c8</id>
<content type='text'>
This code wrote to the full buffer in fstrcpy(), pstrcpy() and other
fixed-length string manipulation functions.

The hope of this code was to find out at run time if we were mixing up
pstring and fstring etc, and to record where this came from.  It has a
runtime performance impact (particularly if compiled with
--enable-developer).

It is being removed because of the complexity it adds, and the
distinct lack of bugs that this complexity has been credited in
finding.

The macro-based compile-time checking of string sizes remains.

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This code wrote to the full buffer in fstrcpy(), pstrcpy() and other
fixed-length string manipulation functions.

The hope of this code was to find out at run time if we were mixing up
pstring and fstring etc, and to record where this came from.  It has a
runtime performance impact (particularly if compiled with
--enable-developer).

It is being removed because of the complexity it adds, and the
distinct lack of bugs that this complexity has been credited in
finding.

The macro-based compile-time checking of string sizes remains.

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>s3-build __FUNCTION__ is always available, always use it</title>
<updated>2011-03-01T01:13:22+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2011-02-28T13:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=243abcb0af981d17dd7dd6c4d9908b855b15e90c'/>
<id>243abcb0af981d17dd7dd6c4d9908b855b15e90c</id>
<content type='text'>
This avoids duplication between FUNCTION_NAME and __FUNCTION__
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids duplication between FUNCTION_NAME and __FUNCTION__
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Explicitly pass flags2 to clistr_pull_talloc</title>
<updated>2010-08-05T12:53:54+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2010-08-05T11:45:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=61fb8a4fd1a8b30fffdf941a9ff843825bf966e3'/>
<id>61fb8a4fd1a8b30fffdf941a9ff843825bf966e3</id>
<content type='text'>
Required to eventually make cli_list async
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Required to eventually make cli_list async
</pre>
</div>
</content>
</entry>
<entry>
<title>Solve some of the conflict between Samba3 and Samba4 push_string</title>
<updated>2009-04-14T02:11:00+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2009-03-17T03:04:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4786a493f70070dce6de4cbe488c9de1bdbb75ad'/>
<id>4786a493f70070dce6de4cbe488c9de1bdbb75ad</id>
<content type='text'>
This renames push_string in Samba3 into push_string_base and
push_string_check for the two different use cases.

This should allow push_string to be imported from Samba4, using it's
calling conventions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This renames push_string in Samba3 into push_string_base and
push_string_check for the two different use cases.

This should allow push_string to be imported from Samba4, using it's
calling conventions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Decouple clistr_pull from struct cli_state-&gt;inbuf</title>
<updated>2009-01-26T04:39:34+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-01-26T02:38:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7f25e0da7348d786a36fa14403938b4f209fb52b'/>
<id>7f25e0da7348d786a36fa14403938b4f209fb52b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove pstrings completely except for smbctool (what does this do ?).</title>
<updated>2007-12-07T20:02:44+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2007-12-07T20:02:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=9e8180b9835fc100c25ef230747f7b44ef03d685'/>
<id>9e8180b9835fc100c25ef230747f7b44ef03d685</id>
<content type='text'>
Don't build this for now.
Jeremy.
(This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't build this for now.
Jeremy.
(This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
</pre>
</div>
</content>
</entry>
</feed>
