<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/python, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/'/>
<entry>
<title>UTIL: Remove python wrapper sss_python_unicode_from_string</title>
<updated>2015-02-25T07:38:29+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2015-02-09T18:38:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=e4796d5ed8e08be7f3767e12753389b18a2ce9f0'/>
<id>e4796d5ed8e08be7f3767e12753389b18a2ce9f0</id>
<content type='text'>
The function PyUnicode_FromString is available in python &gt;= 2.6

Reviewed-by: Stephen Gallagher &lt;sgallagh@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function PyUnicode_FromString is available in python &gt;= 2.6

Reviewed-by: Stephen Gallagher &lt;sgallagh@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UTIL: Remove python wrapper sss_python_set_check</title>
<updated>2015-02-25T07:38:25+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2015-02-09T18:30:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=a63b368a025a61edf41a3d5ce34f325b03295cf6'/>
<id>a63b368a025a61edf41a3d5ce34f325b03295cf6</id>
<content type='text'>
The macro PySet_Check is defined in python &gt;= 2.6

Reviewed-by: Stephen Gallagher &lt;sgallagh@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The macro PySet_Check is defined in python &gt;= 2.6

Reviewed-by: Stephen Gallagher &lt;sgallagh@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UTIL: Remove python wrapper sss_python_set_add</title>
<updated>2015-02-25T07:38:23+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2015-02-09T18:23:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=887edd6b7c53fde44eb9f9060e09db5cd981ba37'/>
<id>887edd6b7c53fde44eb9f9060e09db5cd981ba37</id>
<content type='text'>
The function PySet_Add is available in python &gt;= 2.6

Reviewed-by: Stephen Gallagher &lt;sgallagh@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function PySet_Add is available in python &gt;= 2.6

Reviewed-by: Stephen Gallagher &lt;sgallagh@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UTIL: Remove python wrapper sss_python_set_new</title>
<updated>2015-02-25T07:38:20+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2015-02-09T18:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=9eabaad5e0f3f20a6bcec0629342584c244a79bc'/>
<id>9eabaad5e0f3f20a6bcec0629342584c244a79bc</id>
<content type='text'>
The function PySet_New is available in python &gt;= 2.6

Reviewed-by: Stephen Gallagher &lt;sgallagh@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function PySet_New is available in python &gt;= 2.6

Reviewed-by: Stephen Gallagher &lt;sgallagh@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix warning: equality comparison with extraneous parentheses</title>
<updated>2015-02-11T19:38:42+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2014-09-15T14:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=5085d263f2f084778b1314fc5e808668c3758d82'/>
<id>5085d263f2f084778b1314fc5e808668c3758d82</id>
<content type='text'>
Example of warning:
src/sss_client/libwbclient/wbc_pwd_sssd.c:246:23:
  error: equality comparison with extraneous parentheses
  [-Werror,-Wparentheses-equality]
    if (((wbc_status) == WBC_ERR_SUCCESS)) {
         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/sss_client/libwbclient/wbc_pwd_sssd.c:246:23:
  note: remove extraneous parentheses around the comparison
  to silence this warning
    if (((wbc_status) == WBC_ERR_SUCCESS)) {
        ~             ^                 ~
src/sss_client/libwbclient/wbc_pwd_sssd.c:246:23:
  note: use '=' to turn this equality comparison into an assignment
    if (((wbc_status) == WBC_ERR_SUCCESS)) {
                      ^~
                      =

The reason is definition of some macros which were used in if conditions.

Reviewed-by: Michal Židek &lt;mzidek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Example of warning:
src/sss_client/libwbclient/wbc_pwd_sssd.c:246:23:
  error: equality comparison with extraneous parentheses
  [-Werror,-Wparentheses-equality]
    if (((wbc_status) == WBC_ERR_SUCCESS)) {
         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/sss_client/libwbclient/wbc_pwd_sssd.c:246:23:
  note: remove extraneous parentheses around the comparison
  to silence this warning
    if (((wbc_status) == WBC_ERR_SUCCESS)) {
        ~             ^                 ~
src/sss_client/libwbclient/wbc_pwd_sssd.c:246:23:
  note: use '=' to turn this equality comparison into an assignment
    if (((wbc_status) == WBC_ERR_SUCCESS)) {
                      ^~
                      =

The reason is definition of some macros which were used in if conditions.

Reviewed-by: Michal Židek &lt;mzidek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pysss: Fix double free</title>
<updated>2015-01-29T10:58:43+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2015-01-29T07:10:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=3cd7275c3c41a03eb65769c2bf4e472d1de7b8c0'/>
<id>3cd7275c3c41a03eb65769c2bf4e472d1de7b8c0</id>
<content type='text'>
The talloc context is removed in destructor.

==1695== Invalid read of size 4
==1695==    at 0x1243D0CD: talloc_chunk_from_ptr (talloc.c:372)
==1695==    by 0x1243D0CD: _talloc_free (talloc.c:1559)
==1695==    by 0x117B18C3: PySssLocalObject_dealloc (pysss.c:836)
==1695==    by 0x117B1AEE: PySssLocalObject_new (pysss.c:898)
==1695==    by 0x4ED5522: type_call (typeobject.c:729)
==1695==    by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695==    by 0x4F15584: do_call (ceval.c:4328)
==1695==    by 0x4F15584: call_function (ceval.c:4133)
==1695==    by 0x4F15584: PyEval_EvalFrameEx (ceval.c:2753)
==1695==    by 0x4F16BE5: fast_function (ceval.c:4196)
==1695==    by 0x4F16BE5: call_function (ceval.c:4131)
==1695==    by 0x4F16BE5: PyEval_EvalFrameEx (ceval.c:2753)
==1695==    by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)
==1695==    by 0x4EA46BC: function_call (funcobject.c:526)
==1695==    by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695==    by 0x4F1504F: ext_do_call (ceval.c:4423)
==1695==    by 0x4F1504F: PyEval_EvalFrameEx (ceval.c:2792)
==1695==    by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)
==1695==  Address 0x112d4560 is 64 bytes inside a block of size 96 free'd
==1695==    at 0x4C2ACE9: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1695==    by 0x1243D2F2: _talloc_free_internal (talloc.c:1057)
==1695==    by 0x1243D2F2: _talloc_free (talloc.c:1581)
==1695==    by 0x117B1ABF: PySssLocalObject_new (pysss.c:876)
==1695==    by 0x4ED5522: type_call (typeobject.c:729)
==1695==    by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695==    by 0x4F15584: do_call (ceval.c:4328)
==1695==    by 0x4F15584: call_function (ceval.c:4133)
==1695==    by 0x4F15584: PyEval_EvalFrameEx (ceval.c:2753)
==1695==    by 0x4F16BE5: fast_function (ceval.c:4196)
==1695==    by 0x4F16BE5: call_function (ceval.c:4131)
==1695==    by 0x4F16BE5: PyEval_EvalFrameEx (ceval.c:2753)
==1695==    by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)
==1695==    by 0x4EA46BC: function_call (funcobject.c:526)
==1695==    by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695==    by 0x4F1504F: ext_do_call (ceval.c:4423)
==1695==    by 0x4F1504F: PyEval_EvalFrameEx (ceval.c:2792)
==1695==    by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)

Reviewed-by: Pavel Reichl &lt;preichl@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The talloc context is removed in destructor.

==1695== Invalid read of size 4
==1695==    at 0x1243D0CD: talloc_chunk_from_ptr (talloc.c:372)
==1695==    by 0x1243D0CD: _talloc_free (talloc.c:1559)
==1695==    by 0x117B18C3: PySssLocalObject_dealloc (pysss.c:836)
==1695==    by 0x117B1AEE: PySssLocalObject_new (pysss.c:898)
==1695==    by 0x4ED5522: type_call (typeobject.c:729)
==1695==    by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695==    by 0x4F15584: do_call (ceval.c:4328)
==1695==    by 0x4F15584: call_function (ceval.c:4133)
==1695==    by 0x4F15584: PyEval_EvalFrameEx (ceval.c:2753)
==1695==    by 0x4F16BE5: fast_function (ceval.c:4196)
==1695==    by 0x4F16BE5: call_function (ceval.c:4131)
==1695==    by 0x4F16BE5: PyEval_EvalFrameEx (ceval.c:2753)
==1695==    by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)
==1695==    by 0x4EA46BC: function_call (funcobject.c:526)
==1695==    by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695==    by 0x4F1504F: ext_do_call (ceval.c:4423)
==1695==    by 0x4F1504F: PyEval_EvalFrameEx (ceval.c:2792)
==1695==    by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)
==1695==  Address 0x112d4560 is 64 bytes inside a block of size 96 free'd
==1695==    at 0x4C2ACE9: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1695==    by 0x1243D2F2: _talloc_free_internal (talloc.c:1057)
==1695==    by 0x1243D2F2: _talloc_free (talloc.c:1581)
==1695==    by 0x117B1ABF: PySssLocalObject_new (pysss.c:876)
==1695==    by 0x4ED5522: type_call (typeobject.c:729)
==1695==    by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695==    by 0x4F15584: do_call (ceval.c:4328)
==1695==    by 0x4F15584: call_function (ceval.c:4133)
==1695==    by 0x4F15584: PyEval_EvalFrameEx (ceval.c:2753)
==1695==    by 0x4F16BE5: fast_function (ceval.c:4196)
==1695==    by 0x4F16BE5: call_function (ceval.c:4131)
==1695==    by 0x4F16BE5: PyEval_EvalFrameEx (ceval.c:2753)
==1695==    by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)
==1695==    by 0x4EA46BC: function_call (funcobject.c:526)
==1695==    by 0x4E7F902: PyObject_Call (abstract.c:2529)
==1695==    by 0x4F1504F: ext_do_call (ceval.c:4423)
==1695==    by 0x4F1504F: PyEval_EvalFrameEx (ceval.c:2792)
==1695==    by 0x4F183FF: PyEval_EvalCodeEx (ceval.c:3342)

Reviewed-by: Pavel Reichl &lt;preichl@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Python3 support in SSSD</title>
<updated>2015-01-13T09:25:37+00:00</updated>
<author>
<name>Bohuslav Kabrda</name>
<email>bkabrda@redhat.com</email>
</author>
<published>2014-12-12T10:04:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=341a00311680a440d7f979f06c34c70d86c9367a'/>
<id>341a00311680a440d7f979f06c34c70d86c9367a</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/2017
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/2017
</pre>
</div>
</content>
</entry>
<entry>
<title>pyhbac,pysss: fix reference leaks</title>
<updated>2014-10-22T14:40:25+00:00</updated>
<author>
<name>Pavel Reichl</name>
<email>preichl@redhat.com</email>
</author>
<published>2014-09-29T15:40:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=c52d7c41e4127a84f487777c0efa6996f6389c51'/>
<id>c52d7c41e4127a84f487777c0efa6996f6389c51</id>
<content type='text'>
Resolves:
https://fedorahosted.org/sssd/ticket/1195

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves:
https://fedorahosted.org/sssd/ticket/1195

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pysss: test return value of realloc.</title>
<updated>2014-09-05T15:34:04+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2014-08-26T10:59:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=d79c604c5080c5f6e2bf2d91b4ae79a562437c74'/>
<id>d79c604c5080c5f6e2bf2d91b4ae79a562437c74</id>
<content type='text'>
It is not very likely that realloc will return NULL, but it's better
to be defensive.

src/python/pysss.c:774: var_assigned: Assigning: "groups" = null return value from "realloc".
src/python/pysss.c:788: dereference: Dereferencing a null pointer "groups".

Reviewed-by: Pavel Reichl &lt;preichl@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is not very likely that realloc will return NULL, but it's better
to be defensive.

src/python/pysss.c:774: var_assigned: Assigning: "groups" = null return value from "realloc".
src/python/pysss.c:788: dereference: Dereferencing a null pointer "groups".

Reviewed-by: Pavel Reichl &lt;preichl@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused structures.</title>
<updated>2014-02-26T18:29:46+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2014-02-26T09:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=a842b7eb49fd640d66aeaec26c05166ef55784f8'/>
<id>a842b7eb49fd640d66aeaec26c05166ef55784f8</id>
<content type='text'>
Reported by: cppcheck

'struct py_sss_transaction', 'struct resolve_get_domain_stat',
'struct sync_op_res' were defined in implementation modules, but they were not
used anywhere.

Reviewed-by: Michal Žídek &lt;mzidek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by: cppcheck

'struct py_sss_transaction', 'struct resolve_get_domain_stat',
'struct sync_op_res' were defined in implementation modules, but they were not
used anywhere.

Reviewed-by: Michal Žídek &lt;mzidek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
