<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/libiptcdata/patches/" rel="alternate"/><link href="https://sourceforge.net/p/libiptcdata/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/libiptcdata/patches/</id><updated>2016-11-10T20:39:15.259000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#2 Comparison of unsigned with zero in iptc_data_remove_dataset - solution included</title><link href="https://sourceforge.net/p/libiptcdata/patches/2/?limit=25#5b2f" rel="alternate"/><published>2016-11-10T20:39:15.259000Z</published><updated>2016-11-10T20:39:15.259000Z</updated><author><name>Ihor Dutchak</name><uri>https://sourceforge.net/u/youw/</uri></author><id>https://sourceforge.netb7e0d4187027e27bc569f553e5e408f8ccfa178d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Maybe this is more like a bug, than a patch, but let just not miss it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Comparison of unsigned with zero in iptc_data_remove_dataset - solution included</title><link href="https://sourceforge.net/p/libiptcdata/patches/2/" rel="alternate"/><published>2016-11-10T20:36:10.609000Z</published><updated>2016-11-10T20:36:10.609000Z</updated><author><name>Ihor Dutchak</name><uri>https://sourceforge.net/u/youw/</uri></author><id>https://sourceforge.net9ce57cc558598806eb73df610901e2772e7eb220</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;iptc-data.c: in function iptc_data_remove_dataset:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;int
iptc_data_remove_dataset (IptcData *data, IptcDataSet *dataset)
{
    unsigned int i;
    ...
    i = iptc_data_dataset_index (data, dataset);
    if (i &amp;lt; 0) return -1;
            ^^^^^
    ...
}
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;As a result, if a dataset index is not found, and '-1' is returned, function will try to remove a dataset with index 0xFFFFFFFF.&lt;/p&gt;
&lt;p&gt;Solution:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;if ((int)i &amp;lt; 0) return -1;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>German translation</title><link href="https://sourceforge.net/p/libiptcdata/patches/1/" rel="alternate"/><published>2009-01-01T14:34:06Z</published><updated>2009-01-01T14:34:06Z</updated><author><name>Sylvain Le Gall</name><uri>https://sourceforge.net/u/gildor478/</uri></author><id>https://sourceforge.net7543b0009a3d11a5ad6c1e4269099c366c2d1e78</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;From debian bug tracker &lt;/p&gt;
&lt;p&gt;&lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510399" rel="nofollow"&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510399&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>