<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/jasterisk/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/jasterisk/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 17 Jan 2005 16:46:59 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jasterisk/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Uninitialised string buffers</title><link>https://sourceforge.net/p/jasterisk/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In the patched asterisk.c there are 2 buffers for options &lt;br /&gt;
and arguments:&lt;/p&gt;
&lt;p&gt;char args[512];&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;char opts[1024];&lt;/p&gt;
&lt;p&gt;These are appended to when arguments are parsed from &lt;br /&gt;
the command line but they are never initialised. I use &lt;br /&gt;
the following as a work-around.&lt;/p&gt;
&lt;p&gt;args[0]='\0';&lt;br /&gt;
opts[0]='\0';&lt;/p&gt;
&lt;p&gt;This is the cause of the 'non-writable char' prepended &lt;br /&gt;
to the options around line 2000.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stuart Woodsford</dc:creator><pubDate>Mon, 17 Jan 2005 16:46:59 -0000</pubDate><guid>https://sourceforge.net2514086143d5a8d905fa469e1ad55b84fe1b54ee</guid></item></channel></rss>