<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/adime/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/adime/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/adime/bugs/</id><updated>2014-02-17T09:25:20.277000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>[misc/makedoc/makechm.c:281]: (error) Resource leak: file</title><link href="https://sourceforge.net/p/adime/bugs/2/" rel="alternate"/><published>2014-02-17T09:25:20.277000Z</published><updated>2014-02-17T09:25:20.277000Z</updated><author><name>dcb</name><uri>https://sourceforge.net/u/dcb314/</uri></author><id>https://sourceforge.net7c5e4abfd168867a3dfc8f52c73e3905af9cbff5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;static int _write_hhp(const char &lt;em&gt;filename)&lt;br /&gt;
   FILE &lt;/em&gt;file = fopen(filename, "wt");&lt;/p&gt;
&lt;p&gt;I see no matching call to fclose. Suggest add one.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>_adime_create_pinteger() crashes in V2.0.0</title><link href="https://sourceforge.net/p/adime/bugs/1/" rel="alternate"/><published>2003-02-21T13:49:03Z</published><updated>2003-02-21T13:49:03Z</updated><author><name>Hubert Kahlert</name><uri>https://sourceforge.net/u/hubertk/</uri></author><id>https://sourceforge.netdc2d62cb795af2cd581281a4c30a9ec2c515cef7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In function _adime_create_pinteger() are the following &lt;br /&gt;
lines of code:&lt;/p&gt;
&lt;p&gt;_ADIME_MALLOC(d-&amp;amp;gt;dp, 256 * uwidth_max&lt;br /&gt;
(U_CURRENT) + ucwidth(0), char);&lt;br /&gt;
d-&amp;amp;gt;dp2 = n;&lt;br /&gt;
d-&amp;amp;gt;dp3 = args;&lt;br /&gt;
d-&amp;amp;gt;d2 = 0; // was d-&amp;amp;gt;d2 = ustrlen((char *)d-&amp;amp;gt;dp);&lt;/p&gt;
&lt;p&gt;It can crash in ustrlen(), because the memory contens &lt;br /&gt;
of malloc() is undefined. When I set d-&amp;amp;gt;d2=0 it works &lt;br /&gt;
fine, but I´m unshure if it is right. (maybe it be should set &lt;br /&gt;
to (256 * uwidth_max(U_CURRENT) + ucwidth&lt;br /&gt;
(0))????????? Can you help me, if it is right with 0?&lt;/p&gt;
&lt;p&gt;I couldn´t reach you via e-mail&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>