<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd2.git/src/tests/util-tests.c, branch sssd-1_7_91</title>
<subtitle>System Security Services Daemon [okos' clone]</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/'/>
<entry>
<title>Add a random + identity test for murmurhash3</title>
<updated>2012-01-09T20:00:39+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2012-01-09T19:18:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/commit/?id=8df169fdffb564ec932fede4216a123a71f1cc9a'/>
<id>8df169fdffb564ec932fede4216a123a71f1cc9a</id>
<content type='text'>
This test always generate a random string so each time the test is run we will
test the hash function with a new value.
It also hashes the same string twice and compares the result so that we have a
chance of catching if uninitialized variables are getting mixed into the value
calculation and end up generating different results for the same input.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test always generate a random string so each time the test is run we will
test the hash function with a new value.
It also hashes the same string twice and compares the result so that we have a
chance of catching if uninitialized variables are getting mixed into the value
calculation and end up generating different results for the same input.
</pre>
</div>
</content>
</entry>
<entry>
<title>util: add murmurhash3 hash function</title>
<updated>2012-01-09T20:00:32+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2011-12-28T00:56:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/commit/?id=5a70b84cb66fb8c7a3fce0e3f2e4b61e0b2ea9d4'/>
<id>5a70b84cb66fb8c7a3fce0e3f2e4b61e0b2ea9d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix test group of utf8 tests</title>
<updated>2012-01-04T14:43:42+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2012-01-02T00:28:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/commit/?id=e5ea29f68a2fa08754c7685ef73dbf91ec9b581b'/>
<id>e5ea29f68a2fa08754c7685ef73dbf91ec9b581b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sss_utf8_tolower utility function+unit tests</title>
<updated>2011-12-16T19:46:16+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2011-12-06T13:57:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/commit/?id=dbea04f585a30d001b574317c068cd03a4fa332b'/>
<id>dbea04f585a30d001b574317c068cd03a4fa332b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0</title>
<updated>2011-08-25T19:46:11+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-03T07:15:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/commit/?id=89caf5edcc99f5731e89bd51e6ffaad3ec11c304'/>
<id>89caf5edcc99f5731e89bd51e6ffaad3ec11c304</id>
<content type='text'>
Removed:
    SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED)

Added new macro:
    CONVERT_AND_SET_DEBUG_LEVEL(new_value)

Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0
so DEBUG macro could be reduced by one condition. Anyway, it has a minor
effect, every time you want to load debug_level from command line parameters,
you have to use following pattern:

    /* Set debug level to invalid value so we can deside if -d 0 was used. */
    debug_level = SSSDBG_INVALID;

    pc = poptGetContext(argv[0], argc, argv, long_options, 0);
    while((opt = poptGetNextOpt(pc)) != -1) { ... }

    CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed:
    SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED)

Added new macro:
    CONVERT_AND_SET_DEBUG_LEVEL(new_value)

Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0
so DEBUG macro could be reduced by one condition. Anyway, it has a minor
effect, every time you want to load debug_level from command line parameters,
you have to use following pattern:

    /* Set debug level to invalid value so we can deside if -d 0 was used. */
    debug_level = SSSDBG_INVALID;

    pc = poptGetContext(argv[0], argc, argv, long_options, 0);
    while((opt = poptGetNextOpt(pc)) != -1) { ... }

    CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
</pre>
</div>
</content>
</entry>
<entry>
<title>New DEBUG facility - conversion</title>
<updated>2011-08-25T19:46:11+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-09T11:01:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/commit/?id=99dd40a885ed3d42af4bbbde7ee2fc98830544d0'/>
<id>99dd40a885ed3d42af4bbbde7ee2fc98830544d0</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/925

Conversion of the old debug_level format to the new one.
(only where it was necessary)

Removed:
  SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/925

Conversion of the old debug_level format to the new one.
(only where it was necessary)

Removed:
  SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
</pre>
</div>
</content>
</entry>
<entry>
<title>Unit test for parge_args</title>
<updated>2011-06-15T19:56:12+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2011-05-19T16:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/commit/?id=9873e54960fcbd65fd2f6c7d3404f8a1256ae759'/>
<id>9873e54960fcbd65fd2f6c7d3404f8a1256ae759</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Validate user supplied size of data items</title>
<updated>2011-01-11T17:17:53+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2010-12-06T20:18:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/commit/?id=f15683b4b100351e24e305d25bd4785c79ac8f55'/>
<id>f15683b4b100351e24e305d25bd4785c79ac8f55</id>
<content type='text'>
Specially crafted packages might lead to an integer overflow and the
parsing of the input buffer might not continue as expected. This issue
was identified by Sebastian Krahmer &lt;krahmer@suse.de&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Specially crafted packages might lead to an integer overflow and the
parsing of the input buffer might not continue as expected. This issue
was identified by Sebastian Krahmer &lt;krahmer@suse.de&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add utility function to sanitize LDAP/LDB filters</title>
<updated>2010-11-15T14:52:34+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2010-10-28T16:12:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/commit/?id=ca92350db6ad6ac344181f7b8ec695eda29da675'/>
<id>ca92350db6ad6ac344181f7b8ec695eda29da675</id>
<content type='text'>
Also adds a unit test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also adds a unit test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use POPT_TABLEEND to close option table</title>
<updated>2010-10-13T11:56:20+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2010-10-05T12:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd2.git/commit/?id=daa53f46d3ddcba0cbe2d23251c250794e576cf1'/>
<id>daa53f46d3ddcba0cbe2d23251c250794e576cf1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
