<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/tests/safe-format-tests.c, branch jhrozek_sysdb_fqdn</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/'/>
<entry>
<title>TESTS: Fix build with older version of check framework</title>
<updated>2014-01-15T14:27:59+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2014-01-14T21:41:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=1c585a6d25e5a0f4d1627b1bf6c4e5bc7c81835e'/>
<id>1c585a6d25e5a0f4d1627b1bf6c4e5bc7c81835e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>util: A safe printf for user provided format strings</title>
<updated>2014-01-12T14:24:26+00:00</updated>
<author>
<name>Stef Walter</name>
<email>stefw@redhat.com</email>
</author>
<published>2014-01-07T13:44:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=b9d8c6172e48a2633ebe196b2e88bebdf9523c20'/>
<id>b9d8c6172e48a2633ebe196b2e88bebdf9523c20</id>
<content type='text'>
Since the default printf(3) implementation cannot safely be
used on user (or admin) provided input, this is a safe implementation.

This will be used in later patches by the full_name_format option
The implementation came from realmd, but only has libc dependencies.

The number of fields is pre-defined, and safe printf fails if
an invalid field is accessed.

Only string fields are supported, and only flags relevant to string
fields are supported. Width and precision work as expected, but
precision cannot read from a field.

Tests are included, and ported to the check based testing that
sssd uses.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the default printf(3) implementation cannot safely be
used on user (or admin) provided input, this is a safe implementation.

This will be used in later patches by the full_name_format option
The implementation came from realmd, but only has libc dependencies.

The number of fields is pre-defined, and safe printf fails if
an invalid field is accessed.

Only string fields are supported, and only flags relevant to string
fields are supported. Width and precision work as expected, but
precision cannot read from a field.

Tests are included, and ported to the check based testing that
sssd uses.
</pre>
</div>
</content>
</entry>
</feed>
