<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lasso.git, branch wip</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/'/>
<entry>
<title>One more uninitialized value</title>
<updated>2014-06-12T01:14:51+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2014-06-12T01:13:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/commit/?id=41860c6a232675d2f056e84c92741acedad429ad'/>
<id>41860c6a232675d2f056e84c92741acedad429ad</id>
<content type='text'>
encode_key may be release when not initialized if va_args returns null
on the first while loop.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
encode_key may be release when not initialized if va_args returns null
on the first while loop.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix potential null dereference errors</title>
<updated>2014-06-10T19:31:46+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2014-06-10T19:31:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/commit/?id=6c28425d7ea6ccb9ce677ed47126f01699119e88'/>
<id>6c28425d7ea6ccb9ce677ed47126f01699119e88</id>
<content type='text'>
Ina  number of cases function inputs are not checked for NULL although
values may end up with a NULL value and then they are dereferenced
directly.
Check values in the function (or the caller) if appropriate.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ina  number of cases function inputs are not checked for NULL although
values may end up with a NULL value and then they are dereferenced
directly.
Check values in the function (or the caller) if appropriate.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make id mandatory</title>
<updated>2014-06-10T12:39:07+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2014-06-10T12:39:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/commit/?id=32e0d501ab14b5fb668c3e144f4115403c8094b8'/>
<id>32e0d501ab14b5fb668c3e144f4115403c8094b8</id>
<content type='text'>
id should always be present, return immediately if not, and make its
use not conditional.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
id should always be present, return immediately if not, and make its
use not conditional.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not dereference null pointers</title>
<updated>2014-06-09T19:34:18+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2014-06-09T19:29:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/commit/?id=60ab08cfec53a24ecca24d581ebc6dd2af0e1f71'/>
<id>60ab08cfec53a24ecca24d581ebc6dd2af0e1f71</id>
<content type='text'>
Sounds like these should all be boolean 'OR's, otherwise,
if profile is not in fact a lasso profile then profile-&gt;private_data
will be dereferenced even if it is NULL.
Found by Clang

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sounds like these should all be boolean 'OR's, otherwise,
if profile is not in fact a lasso profile then profile-&gt;private_data
will be dereferenced even if it is NULL.
Found by Clang

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Rearrange case checking to avoid compiler warnings</title>
<updated>2014-06-09T19:34:18+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2014-06-09T18:09:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/commit/?id=3904eae57a79f2c535ab2c8b8ea8a9932e4b5e4e'/>
<id>3904eae57a79f2c535ab2c8b8ea8a9932e4b5e4e</id>
<content type='text'>
The compiler was complaining that 'compa' could be uninitialized.
USe this occasion to make the code simpler to understand and assign
actually meaningful values to the variable, even though the proper
actions are not implemented yet.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The compiler was complaining that 'compa' could be uninitialized.
USe this occasion to make the code simpler to understand and assign
actually meaningful values to the variable, even though the proper
actions are not implemented yet.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly exit on error</title>
<updated>2014-06-09T19:08:35+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2014-06-09T18:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/commit/?id=7d3fb462dc388e4e5d32fb0cf853a946314df87f'/>
<id>7d3fb462dc388e4e5d32fb0cf853a946314df87f</id>
<content type='text'>
The rc error was being set but then it was being ignored.
Get out immediately if an Issuer can't be found.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The rc error was being set but then it was being ignored.
Get out immediately if an Issuer can't be found.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently check dsig_reference_ctx</title>
<updated>2014-06-09T19:08:35+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2014-06-09T17:50:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/commit/?id=ed94ee95b56c0b85edc71907fb98868331c7411d'/>
<id>ed94ee95b56c0b85edc71907fb98868331c7411d</id>
<content type='text'>
Check if this is not NULL in all cases, to avoid NULL pointer dereference.
Found by clang

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check if this is not NULL in all cases, to avoid NULL pointer dereference.
Found by clang

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Trim unused code</title>
<updated>2014-06-09T19:08:35+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2014-06-09T17:42:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/commit/?id=bbb6a2b403fd1e961db752afe1072d616d10ba0d'/>
<id>bbb6a2b403fd1e961db752afe1072d616d10ba0d</id>
<content type='text'>
Clang complains these values are never used, avoid even assigning them.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clang complains these values are never used, avoid even assigning them.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Trim dead code</title>
<updated>2014-06-09T17:26:53+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2014-06-09T17:25:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/commit/?id=04ec284fb14f62f0ac980b8bfa876d4681086cc4'/>
<id>04ec284fb14f62f0ac980b8bfa876d4681086cc4</id>
<content type='text'>
These conditions can never be reached as the list is filtered with
and and to the value of 0xff, so just drop them, they are misleading.
(Also silences checkers which were screaming of deadcode, for each and
every unmatchable value ...)

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These conditions can never be reached as the list is filtered with
and and to the value of 0xff, so just drop them, they are misleading.
(Also silences checkers which were screaming of deadcode, for each and
every unmatchable value ...)

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix confusing loop test</title>
<updated>2014-06-09T17:11:01+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2014-06-09T17:04:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/lasso.git/commit/?id=1784a73216ef17e23ca59eb39452f2a2b6aea529'/>
<id>1784a73216ef17e23ca59eb39452f2a2b6aea529</id>
<content type='text'>
Coverity was marking the check for tsnippet after the while loop,
confused by the check. Make it more readable, and in the process
make checkers happy too.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Coverity was marking the check for tsnippet after the while loop,
confused by the check. Make it more readable, and in the process
make checkers happy too.

License: MIT
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
