<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xine-lib/src/input/librtsp, branch 1.1.18</title>
<subtitle>xine-lib git mirror
</subtitle>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/'/>
<entry>
<title>Trim trailing space &amp; reduce space+tab.</title>
<updated>2009-11-30T21:24:21+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2009-11-30T21:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=add0bcc4c9191cb8980d0b6935ca5d51a9928d82'/>
<id>add0bcc4c9191cb8980d0b6935ca5d51a9928d82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>RTSP debug build fix</title>
<updated>2009-09-28T20:07:26+00:00</updated>
<author>
<name>Nicos Gollan</name>
<email>gtdev@spearhead.de</email>
</author>
<published>2009-09-28T20:07:26+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=21f1b993013b54f3909d2fa497fd6a9a9e147190'/>
<id>21f1b993013b54f3909d2fa497fd6a9a9e147190</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove '#include "config.h"' from all public header files.</title>
<updated>2009-01-18T00:21:47+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2009-01-18T00:21:47+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=c8f8261d199af4956aeaf387b2fde41baf905f83'/>
<id>c8f8261d199af4956aeaf387b2fde41baf905f83</id>
<content type='text'>
This requires that many other files include config.h themselves.
Also convert &lt;config.h&gt; to "config.h".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This requires that many other files include config.h themselves.
Also convert &lt;config.h&gt; to "config.h".
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark initialisation functions with malloc attribute.</title>
<updated>2008-05-23T18:07:00+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-23T18:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=08c066cac2efdfcf569e47609e9e1b0a947ce129'/>
<id>08c066cac2efdfcf569e47609e9e1b0a947ce129</id>
<content type='text'>
All the initialisation functions returning a new object instance that
was allocated through malloc() or calloc() can get the malloc
attribute so that the compiler can optimise their call.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All the initialisation functions returning a new object instance that
was allocated through malloc() or calloc() can get the malloc
attribute so that the compiler can optimise their call.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use size_t rather than int to store the return value of strlen().</title>
<updated>2008-05-09T16:17:44+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-09T16:17:44+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=4384f0b14a658b4179cedf77c2d6c2718610017b'/>
<id>4384f0b14a658b4179cedf77c2d6c2718610017b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't overuse sscanf().</title>
<updated>2008-05-07T18:21:28+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T18:21:28+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=1230c21aea047e429f050c5ceeff20820e0d6044'/>
<id>1230c21aea047e429f050c5ceeff20820e0d6044</id>
<content type='text'>
Instead of using sscanf() to get the data out of headers, as we just
compared them, skip the name of the header and get the rest. Add the
whitespace to the compare so that it actually works as intended. Also
save some unneeded dup/free.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of using sscanf() to get the data out of headers, as we just
compared them, skip the name of the header and get the rest. Add the
whitespace to the compare so that it actually works as intended. Also
save some unneeded dup/free.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use strn?dup instead of alloc + strn?cpy.</title>
<updated>2008-05-07T16:23:55+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T16:23:55+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=657a953d5d2807ed99eddf7b45a4dc46cef626d5'/>
<id>657a953d5d2807ed99eddf7b45a4dc46cef626d5</id>
<content type='text'>
Whenever an allocated memory area is immediately filled in with a
string through strcpy() or strncpy(), replace the calls with the
appropriate strn?dup().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Whenever an allocated memory area is immediately filled in with a
string through strcpy() or strncpy(), replace the calls with the
appropriate strn?dup().
</pre>
</div>
</content>
</entry>
<entry>
<title>Use asprintf() rather than malloc() + sprintf().</title>
<updated>2008-05-07T15:49:47+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T15:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=c3744b6736ce45c1c700b7f026fb0acfb0069a6d'/>
<id>c3744b6736ce45c1c700b7f026fb0acfb0069a6d</id>
<content type='text'>
Using asprintf() instead of malloc() + sprintf() reduces the lines of
code in xine-lib (moving the allocation to the C library or asprintf
replacement), makes it safer to access the string and can also improve
performance whenever the value returned by a function was used as
parameter, as before it had to run the function twice in almost every
case (once for strlen(), once for sprintf()).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using asprintf() instead of malloc() + sprintf() reduces the lines of
code in xine-lib (moving the allocation to the C library or asprintf
replacement), makes it safer to access the string and can also improve
performance whenever the value returned by a function was used as
parameter, as before it had to run the function twice in almost every
case (once for strlen(), once for sprintf()).
</pre>
</div>
</content>
</entry>
<entry>
<title>xine_xmalloc() deprecation: replace its use with static and non-zero size.</title>
<updated>2008-05-07T14:59:00+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T14:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=88d23a2dbabf419ab4014b449be119a741aa54f5'/>
<id>88d23a2dbabf419ab4014b449be119a741aa54f5</id>
<content type='text'>
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.

With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().

malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.

--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.

With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().

malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.

--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a buffer overflow in the RTSP header-handling code.</title>
<updated>2008-01-11T13:49:08+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2008-01-11T13:49:08+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=f3e691cf556bd4ad1338f222ffcf5eaecafd6a24'/>
<id>f3e691cf556bd4ad1338f222ffcf5eaecafd6a24</id>
<content type='text'>
CVE-2008-0225; ported from mplayer changeset 22821.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CVE-2008-0225; ported from mplayer changeset 22821.
</pre>
</div>
</content>
</entry>
</feed>
